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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4771/0.4771, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 106 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 56.16 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3376, allocations: 70.07 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002456/0.3401, allocations: 1.483 MB / 0.5589 GB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3413, allocations: 0.8082 MB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.3413, allocations: 0 / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3414, allocations: 3.984 kB / 0.5597 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.3414, allocations: 3.938 kB / 0.5597 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.3418, allocations: 99.06 kB / 0.5598 GB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.3419, allocations: 31.86 kB / 0.5599 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.342, allocations: 4 kB / 0.5599 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.766e-05/0.342, allocations: 22.94 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.3421, allocations: 19.91 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3421, allocations: 4 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.3425, allocations: 311.3 kB / 0.5602 GB, free: 42.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3425, allocations: 11.97 kB / 0.5602 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.3425, allocations: 11.94 kB / 0.5602 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3428, allocations: 187.6 kB / 0.5604 GB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3428, allocations: 8 kB / 0.5604 GB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3428, allocations: 0 / 0.5604 GB, free: 42.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3428, allocations: 0 / 0.5604 GB, free: 42.18 MB / 410.7 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.000447/0.3433, allocations: 373.5 kB / 0.5608 GB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3433, allocations: 12.03 kB / 0.5608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.3437, allocations: 68.75 kB / 0.5609 GB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.3438, allocations: 168.4 kB / 0.561 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3439, allocations: 384 / 0.561 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3439, allocations: 384 / 0.561 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3442, allocations: 93.92 kB / 0.5611 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3442, allocations: 0 / 0.5611 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3442, allocations: 3.938 kB / 0.5611 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3442, allocations: 4 kB / 0.5611 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.3446, allocations: 91.83 kB / 0.5612 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3451, allocations: 304.8 kB / 0.5615 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.3454, allocations: 90.5 kB / 0.5616 GB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3456, allocations: 52.86 kB / 0.5616 GB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.3457, allocations: 4 kB / 0.5616 GB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.3457, allocations: 34.56 kB / 0.5617 GB, free: 40.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3457, allocations: 0 / 0.5617 GB, free: 40.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006748/0.3464, allocations: 173.5 kB / 0.5618 GB, free: 40.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3464, allocations: 51.41 kB / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.3465, allocations: 101.9 kB / 0.562 GB, free: 40.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.3465, allocations: 25.7 kB / 0.562 GB, free: 40.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.3465, allocations: 84.14 kB / 0.5621 GB, free: 40.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3465, allocations: 7.891 kB / 0.5621 GB, free: 40.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3466, allocations: 13.72 kB / 0.5621 GB, free: 40.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.3466, allocations: 314.8 kB / 0.5624 GB, free: 39.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.3468, allocations: 47.98 kB / 0.5624 GB, free: 39.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.347, allocations: 47.94 kB / 0.5625 GB, free: 39.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.3474, allocations: 96.7 kB / 0.5626 GB, free: 39.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3474, allocations: 0 / 0.5626 GB, free: 39.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003995/0.3478, allocations: 121.9 kB / 0.5627 GB, free: 39.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3478, allocations: 4 kB / 0.5627 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3478, allocations: 0 / 0.5627 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3478, allocations: 8 kB / 0.5627 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.348, allocations: 19.97 kB / 0.5627 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.348, allocations: 4.031 kB / 0.5627 GB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3481, allocations: 19.97 kB / 0.5628 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3481, allocations: 0 / 0.5628 GB, free: 39.56 MB / 410.7 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 5.84e-05/0.3482, allocations: 109.8 kB / 0.5629 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3482, allocations: 4 kB / 0.5629 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3483, allocations: 11.11 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3483, allocations: 0 / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3483, allocations: 4 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3483, allocations: 0 / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3484, allocations: 173.5 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3484, allocations: 0 / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.3486, allocations: 31.84 kB / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3486, allocations: 0 / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3486, allocations: 3.984 kB / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3486, allocations: 0 / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3486, allocations: 4 kB / 0.5631 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.3494, allocations: 0.8136 MB / 0.5639 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.3494, allocations: 85.12 kB / 0.564 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3494, allocations: 0 / 0.564 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3495, allocations: 15.98 kB / 0.564 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3496, allocations: 11.92 kB / 0.564 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3496, allocations: 0 / 0.564 GB, free: 38.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.48e-05/0.3496, allocations: 79.28 kB / 0.5641 GB, free: 38.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 0 / 0.5641 GB, free: 38.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.35, allocations: 20 kB / 0.5641 GB, free: 38.07 MB / 410.7 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.0001292/0.3501, allocations: 107.2 kB / 0.5642 GB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.3505, allocations: 99.91 kB / 0.5643 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3505, allocations: 0 / 0.5643 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3507, allocations: 55.94 kB / 0.5643 GB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.351, allocations: 13.77 kB / 0.5643 GB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.3516, allocations: 266.1 kB / 0.5646 GB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3517, allocations: 0.677 MB / 0.5653 GB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.188e-05/0.3518, allocations: 11.98 kB / 0.5653 GB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3519, allocations: 7.438 kB / 0.5653 GB, free: 36.77 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3519, allocations: 0 / 0.5653 GB, free: 36.77 MB / 410.7 MB Notification: Performance of Templates: time 0.002319/0.3542, allocations: 0.7537 MB / 0.566 GB, free: 36.03 MB / 410.7 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)