Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 174.2 kB / 325.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007701/0.0007697, allocations: 93.92 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8.625 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.222, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001496/0.2236, allocations: 1.188 MB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2249, allocations: 0.8638 MB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2249, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.225, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.2251, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2254, allocations: 103.7 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.466e-05/0.2255, allocations: 39.86 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2256, allocations: 3.984 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.2257, allocations: 15.98 kB / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.2258, allocations: 23.91 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2258, allocations: 0 / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.2262, allocations: 311.4 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2262, allocations: 7.984 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2263, allocations: 7.938 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2266, allocations: 195.6 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2266, allocations: 0 / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2266, allocations: 4 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2266, allocations: 0 / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005225/0.2271, allocations: 371.5 kB / 0.8992 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2272, allocations: 8.031 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.2272, allocations: 34.75 kB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.2277, allocations: 88.75 kB / 0.8994 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.2278, allocations: 164.4 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2278, allocations: 384 / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2278, allocations: 4.359 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.2281, allocations: 101.8 kB / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2281, allocations: 0 / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2281, allocations: 0 / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2281, allocations: 0 / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.2285, allocations: 115.8 kB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.229, allocations: 312.8 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.2293, allocations: 114.5 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2295, allocations: 64.88 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2295, allocations: 0 / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.2295, allocations: 34.56 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2295, allocations: 3.938 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0006346/0.2302, allocations: 205.5 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.2302, allocations: 55.41 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.2303, allocations: 105.9 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2303, allocations: 25.7 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.2303, allocations: 88.14 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.2303, allocations: 3.906 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.2304, allocations: 9.719 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.2304, allocations: 322.8 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2306, allocations: 59.94 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.2308, allocations: 59.95 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2311, allocations: 112.8 kB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2312, allocations: 0 / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000391/0.2315, allocations: 149.5 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2316, allocations: 8 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2316, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2316, allocations: 3.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2317, allocations: 23.98 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2318, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2319, allocations: 28 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2319, allocations: 0 / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.2319, allocations: 113.8 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.232, allocations: 0 / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.232, allocations: 11.11 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.232, allocations: 4 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.232, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.232, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2322, allocations: 177.5 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2322, allocations: 7.984 kB / 0.9017 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2323, allocations: 19.98 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2323, allocations: 4 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.2323, allocations: 11.92 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2323, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2323, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.2327, allocations: 247.3 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.2328, allocations: 85.05 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2328, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2329, allocations: 19.98 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.233, allocations: 12 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.233, allocations: 256 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.233, allocations: 87.28 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002198/0.2332, allocations: 23.92 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006079/0.2339, allocations: 0.7787 MB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.2343, allocations: 119.9 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2343, allocations: 0 / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2345, allocations: 64 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2347, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.2354, allocations: 212.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2356, allocations: 0.677 MB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.557e-05/0.2356, allocations: 11.94 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.2357, allocations: 15.42 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2357, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009981/0.2457, allocations: 1.418 MB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.2458, allocations: 214.8 kB / 0.9056 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.734, allocations: 0 / 0.9056 GB, free: 58.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)