Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009553/0.0009555, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.455/0.455, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.249/1.249, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008397, allocations: 101.8 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.552e-05, allocations: 8 kB / 0.4896 GB, free: 5.332 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3138, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4265, allocations: 103 MB / 0.6608 GB, free: 1.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4267, allocations: 79.95 kB / 0.6609 GB, free: 1.262 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.4425, allocations: 5.523 MB / 0.6663 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4426, allocations: 0 / 0.6663 GB, free: 11.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4426, allocations: 0 / 0.6663 GB, free: 11.75 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004481/0.443, allocations: 406.2 kB / 0.6667 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4431, allocations: 15.98 kB / 0.6667 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.4434, allocations: 67.8 kB / 0.6667 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4436, allocations: 167 kB / 0.6669 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.4436, allocations: 7.984 kB / 0.6669 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.4436, allocations: 8 kB / 0.6669 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4438, allocations: 73.66 kB / 0.667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4438, allocations: 1.219 kB / 0.667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4439, allocations: 4 kB / 0.667 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4439, allocations: 4 kB / 0.667 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.444, allocations: 39.95 kB / 0.667 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.4445, allocations: 340.5 kB / 0.6674 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.4447, allocations: 82.5 kB / 0.6674 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.4447, allocations: 24.86 kB / 0.6675 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4447, allocations: 0 / 0.6675 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4448, allocations: 34.5 kB / 0.6675 GB, free: 10.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.4448, allocations: 4 kB / 0.6675 GB, free: 10.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.01244/0.4572, allocations: 2.105 MB / 0.6695 GB, free: 8.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.4573, allocations: 51.41 kB / 0.6696 GB, free: 8.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.4574, allocations: 101 kB / 0.6697 GB, free: 7.969 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.4574, allocations: 33.7 kB / 0.6697 GB, free: 7.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4575, allocations: 84.05 kB / 0.6698 GB, free: 7.844 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.4575, allocations: 35.45 kB / 0.6698 GB, free: 7.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.4576, allocations: 4 kB / 0.6698 GB, free: 7.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.4577, allocations: 318.8 kB / 0.6701 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.4579, allocations: 119.9 kB / 0.6703 GB, free: 7.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4582, allocations: 117.3 kB / 0.6704 GB, free: 7.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.4584, allocations: 117.4 kB / 0.6705 GB, free: 7.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4584, allocations: 3.953 kB / 0.6705 GB, free: 7.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006818/0.4591, allocations: 321.3 kB / 0.6708 GB, free: 6.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4591, allocations: 8 kB / 0.6708 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4592, allocations: 3.938 kB / 0.6708 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4592, allocations: 0 / 0.6708 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.46, allocations: 115.8 kB / 0.6709 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.46, allocations: 8 kB / 0.6709 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.4606, allocations: 59.94 kB / 0.671 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.4606, allocations: 27.92 kB / 0.671 GB, free: 6.598 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4608, allocations: 109 kB / 0.6711 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.4608, allocations: 3.953 kB / 0.6711 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.4609, allocations: 9.688 kB / 0.6711 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4609, allocations: 4 kB / 0.6711 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4609, allocations: 0 / 0.6711 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4609, allocations: 0 / 0.6711 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4622, allocations: 0.9162 MB / 0.672 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4622, allocations: 0 / 0.672 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.463, allocations: 119.8 kB / 0.6721 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.463, allocations: 0 / 0.6721 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.4631, allocations: 23.94 kB / 0.6722 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4631, allocations: 0 / 0.6722 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4631, allocations: 7.938 kB / 0.6722 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4641, allocations: 0.5616 MB / 0.6727 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4643, allocations: 121 kB / 0.6728 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4643, allocations: 4 kB / 0.6728 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.465, allocations: 55.94 kB / 0.6729 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.4651, allocations: 31.92 kB / 0.6729 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.4651, allocations: 19.94 kB / 0.6729 GB, free: 4.469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.4652, allocations: 84.95 kB / 0.673 GB, free: 4.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4652, allocations: 0 / 0.673 GB, free: 4.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.4655, allocations: 59.94 kB / 0.6731 GB, free: 4.328 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.4658, allocations: 119.2 kB / 0.6732 GB, free: 4.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.4664, allocations: 278.6 kB / 0.6735 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4664, allocations: 0 / 0.6735 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.4667, allocations: 143.8 kB / 0.6736 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4669, allocations: 12.88 kB / 0.6736 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.4703, allocations: 0.6958 MB / 0.6743 GB, free: 3.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4705, allocations: 0.6926 MB / 0.675 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006238/0.4712, allocations: 92.11 kB / 0.675 GB, free: 2.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4714, allocations: 55.3 kB / 0.6751 GB, free: 2.195 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4714, allocations: 4 kB / 0.6751 GB, free: 2.191 MB / 490.7 MB Notification: Performance of Templates: time 0.005278/0.4767, allocations: 3.232 MB / 0.6783 GB, free: 14.97 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)