Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 101.2 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7612/0.7612, allocations: 126.4 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 67.89 kB / 0.4953 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4424, allocations: 78.78 MB / 0.5723 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003628/0.4461, allocations: 1.422 MB / 0.5737 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.4478, allocations: 0.7889 MB / 0.5744 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.4478, allocations: 1.719 kB / 0.5744 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.4479, allocations: 4.938 kB / 0.5744 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.448, allocations: 1.828 kB / 0.5744 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.4488, allocations: 127.3 kB / 0.5746 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.4489, allocations: 35.12 kB / 0.5746 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4491, allocations: 9.938 kB / 0.5746 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.4492, allocations: 17.38 kB / 0.5746 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.4492, allocations: 24.78 kB / 0.5746 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4493, allocations: 4.344 kB / 0.5746 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.45, allocations: 317.4 kB / 0.5749 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.45, allocations: 2.391 kB / 0.5749 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.4501, allocations: 18.27 kB / 0.575 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.4506, allocations: 196.7 kB / 0.5751 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4506, allocations: 2.469 kB / 0.5752 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4506, allocations: 0.7031 kB / 0.5752 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4506, allocations: 0 / 0.5752 GB, free: 29.36 MB / 446.1 MB 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.0006099/0.4512, allocations: 375.2 kB / 0.5755 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4513, allocations: 10.5 kB / 0.5755 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.4518, allocations: 66.25 kB / 0.5756 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.4519, allocations: 171.8 kB / 0.5757 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.452, allocations: 2 kB / 0.5757 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.452, allocations: 1.625 kB / 0.5758 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.4524, allocations: 88.64 kB / 0.5758 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4524, allocations: 1.375 kB / 0.5758 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4524, allocations: 1.031 kB / 0.5758 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4524, allocations: 0.6562 kB / 0.5758 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.4529, allocations: 89.66 kB / 0.5759 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.4535, allocations: 297.6 kB / 0.5762 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.4539, allocations: 96.7 kB / 0.5763 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4542, allocations: 51.31 kB / 0.5763 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4542, allocations: 10.14 kB / 0.5764 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4542, allocations: 30.56 kB / 0.5764 GB, free: 28.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4542, allocations: 0.625 kB / 0.5764 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007502/0.455, allocations: 168 kB / 0.5765 GB, free: 28.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.455, allocations: 52 kB / 0.5766 GB, free: 28.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.4551, allocations: 105.2 kB / 0.5767 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4551, allocations: 27.45 kB / 0.5767 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.4552, allocations: 85.52 kB / 0.5768 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.4552, allocations: 9.219 kB / 0.5768 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.4552, allocations: 16.45 kB / 0.5768 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.4553, allocations: 317.3 kB / 0.5771 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4555, allocations: 42.83 kB / 0.5772 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.4557, allocations: 46.89 kB / 0.5772 GB, free: 27.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.4561, allocations: 92.61 kB / 0.5773 GB, free: 27.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4561, allocations: 0 / 0.5773 GB, free: 27.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004539/0.4566, allocations: 132.9 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4566, allocations: 7.375 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4566, allocations: 0.5938 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4566, allocations: 0 / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.4568, allocations: 26.81 kB / 0.5775 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4568, allocations: 1.562 kB / 0.5775 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4569, allocations: 19.59 kB / 0.5775 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.457, allocations: 1.375 kB / 0.5775 GB, free: 27.46 MB / 446.1 MB 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 7.333e-05/0.4571, allocations: 112.4 kB / 0.5776 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.4571, allocations: 1.375 kB / 0.5776 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.4571, allocations: 10.92 kB / 0.5776 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4571, allocations: 0 / 0.5776 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4572, allocations: 1.375 kB / 0.5776 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4572, allocations: 1.781 kB / 0.5776 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.4573, allocations: 177.8 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4573, allocations: 4 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4575, allocations: 22.75 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4575, allocations: 0.5312 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4575, allocations: 1.375 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4575, allocations: 1.125 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4575, allocations: 1.375 kB / 0.5778 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.458, allocations: 223.8 kB / 0.578 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.4581, allocations: 82.39 kB / 0.5781 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4581, allocations: 2.062 kB / 0.5781 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4582, allocations: 18.69 kB / 0.5781 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4583, allocations: 2.688 kB / 0.5781 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4583, allocations: 1.375 kB / 0.5781 GB, free: 26.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.4583, allocations: 87.39 kB / 0.5782 GB, free: 26.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4583, allocations: 4.812 kB / 0.5782 GB, free: 26.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.4586, allocations: 15 kB / 0.5782 GB, free: 26.74 MB / 446.1 MB 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.0001732/0.4588, allocations: 113.6 kB / 0.5783 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.4593, allocations: 94.94 kB / 0.5784 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4593, allocations: 3.938 kB / 0.5784 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.4595, allocations: 46.8 kB / 0.5785 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4599, allocations: 15.97 kB / 0.5785 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.4606, allocations: 154.9 kB / 0.5786 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4608, allocations: 0.6756 MB / 0.5793 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.4609, allocations: 15.81 kB / 0.5793 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.4609, allocations: 13.97 kB / 0.5793 GB, free: 25.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4609, allocations: 0 / 0.5793 GB, free: 25.73 MB / 446.1 MB Notification: Performance of Templates: time 0.00379/0.4647, allocations: 0.8159 MB / 0.5801 GB, free: 25.32 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)