Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001019/0.001019, allocations: 196 kB / 17.98 MB, free: 5.031 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7/0.7, allocations: 115.1 MB / 407 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 72.09 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3671, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001724/0.3688, allocations: 0.5851 MB / 0.5582 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3703, allocations: 1.447 MB / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3704, allocations: 1.25 kB / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.3704, allocations: 3.938 kB / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.3704, allocations: 0 / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3709, allocations: 141.8 kB / 0.5597 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.371, allocations: 26.39 kB / 0.5597 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.371, allocations: 7.875 kB / 0.5597 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.3711, allocations: 22.25 kB / 0.5598 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.3711, allocations: 22.67 kB / 0.5598 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3712, allocations: 2.906 kB / 0.5598 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.3716, allocations: 317.7 kB / 0.5601 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3716, allocations: 8.75 kB / 0.5601 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3717, allocations: 11.39 kB / 0.5601 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3719, allocations: 188.6 kB / 0.5603 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.372, allocations: 0 / 0.5603 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.372, allocations: 1.156 kB / 0.5603 GB, free: 35.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.372, allocations: 1.594 kB / 0.5603 GB, free: 35.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004314/0.3724, allocations: 361.7 kB / 0.5606 GB, free: 34.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3724, allocations: 8.625 kB / 0.5606 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004301/0.3729, allocations: 73.5 kB / 0.5607 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.373, allocations: 166.4 kB / 0.5609 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.373, allocations: 1.031 kB / 0.5609 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.373, allocations: 6.969 kB / 0.5609 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3733, allocations: 80.06 kB / 0.561 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3733, allocations: 0 / 0.561 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3733, allocations: 3.719 kB / 0.561 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3733, allocations: 1.469 kB / 0.561 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3736, allocations: 60.98 kB / 0.561 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.3738, allocations: 165.2 kB / 0.5612 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.3743, allocations: 130.8 kB / 0.5613 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.3745, allocations: 46.7 kB / 0.5613 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.375, allocations: 157.8 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.375, allocations: 39.11 kB / 0.5615 GB, free: 34.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.375, allocations: 0 / 0.5615 GB, free: 34.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001075/0.3761, allocations: 404.7 kB / 0.5619 GB, free: 33.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.3761, allocations: 52.94 kB / 0.562 GB, free: 33.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.3762, allocations: 99.45 kB / 0.5621 GB, free: 33.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3762, allocations: 25.7 kB / 0.5621 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.3762, allocations: 82.64 kB / 0.5622 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3763, allocations: 14.73 kB / 0.5622 GB, free: 33.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3763, allocations: 22.69 kB / 0.5622 GB, free: 33.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.3764, allocations: 313.6 kB / 0.5625 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3765, allocations: 36.05 kB / 0.5625 GB, free: 33.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3767, allocations: 42.09 kB / 0.5626 GB, free: 33.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.377, allocations: 74.23 kB / 0.5627 GB, free: 33.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.377, allocations: 0 / 0.5627 GB, free: 33.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003489/0.3774, allocations: 120.9 kB / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3774, allocations: 6.375 kB / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3774, allocations: 0 / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3774, allocations: 0 / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.3776, allocations: 23.08 kB / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3776, allocations: 2.25 kB / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.3777, allocations: 12.5 kB / 0.5628 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3777, allocations: 3.344 kB / 0.5628 GB, free: 33.12 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 (6): * Single equations (assignments): 6 * 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 6.016e-05/0.3778, allocations: 117.1 kB / 0.5629 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.3778, allocations: 9.016 kB / 0.5629 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.3782, allocations: 128.2 kB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3782, allocations: 3.297 kB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3782, allocations: 1.25 kB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3782, allocations: 320 / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3784, allocations: 170.8 kB / 0.5632 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3784, allocations: 5.219 kB / 0.5632 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3785, allocations: 27.2 kB / 0.5633 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3786, allocations: 11.06 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3786, allocations: 2.047 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3786, allocations: 0 / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3786, allocations: 1.578 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.3791, allocations: 182.9 kB / 0.5634 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.3792, allocations: 95.75 kB / 0.5635 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3792, allocations: 5.234 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3794, allocations: 14.73 kB / 0.5636 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3794, allocations: 3.594 kB / 0.5636 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3794, allocations: 9.891 kB / 0.5636 GB, free: 32.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.124e-05/0.3794, allocations: 76.47 kB / 0.5636 GB, free: 32.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3794, allocations: 2.344 kB / 0.5636 GB, free: 32.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3797, allocations: 34.94 kB / 0.5637 GB, free: 32.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002104/0.3799, allocations: 131.8 kB / 0.5638 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3803, allocations: 83.69 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3803, allocations: 0 / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3805, allocations: 43.05 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3806, allocations: 10.92 kB / 0.5639 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.3812, allocations: 184.6 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.986e-05/0.3813, allocations: 0.681 MB / 0.5648 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.113e-05/0.3814, allocations: 14.42 kB / 0.5648 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3814, allocations: 13.67 kB / 0.5648 GB, free: 31.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3814, allocations: 3.344 kB / 0.5648 GB, free: 31.51 MB / 446.1 MB Notification: Performance of Templates: time 0.003739/0.3852, allocations: 1.148 MB / 0.5659 GB, free: 31.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)