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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 186.7 kB / 7.802 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4394/0.4394, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.195/1.195, allocations: 221.4 MB / 342.8 MB, free: 5.184 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.0009151/0.0009151, allocations: 96.14 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.366e-05, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.419, allocations: 101.5 MB / 0.652 GB, free: 8.535 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4192, allocations: 80.58 kB / 0.6521 GB, free: 8.457 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01268/0.4319, allocations: 3.794 MB / 0.6558 GB, free: 4.719 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.432, allocations: 3.938 kB / 0.6558 GB, free: 4.715 MB / 474.7 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.000399/0.4324, allocations: 370.2 kB / 0.6561 GB, free: 4.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4324, allocations: 10.75 kB / 0.6562 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.4328, allocations: 71.92 kB / 0.6562 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.433, allocations: 163.1 kB / 0.6564 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.433, allocations: 4 kB / 0.6564 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.433, allocations: 3.906 kB / 0.6564 GB, free: 4.023 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/0.4331, allocations: 16 kB / 0.6564 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4333, allocations: 57.59 kB / 0.6565 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4333, allocations: 4 kB / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4333, allocations: 0 / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4333, allocations: 0 / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.4335, allocations: 139.6 kB / 0.6566 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.4337, allocations: 54.58 kB / 0.6566 GB, free: 3.707 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.4338, allocations: 16.86 kB / 0.6567 GB, free: 3.688 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.4339, allocations: 89.19 kB / 0.6567 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4339, allocations: 39.03 kB / 0.6568 GB, free: 3.535 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4339, allocations: 0 / 0.6568 GB, free: 3.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.001314/0.4352, allocations: 442 kB / 0.6572 GB, free: 3.051 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4353, allocations: 51.41 kB / 0.6573 GB, free: 2.988 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.4353, allocations: 89 kB / 0.6573 GB, free: 2.895 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4353, allocations: 25.7 kB / 0.6574 GB, free: 2.863 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.4354, allocations: 84.14 kB / 0.6574 GB, free: 2.777 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4354, allocations: 19.73 kB / 0.6575 GB, free: 2.758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.4354, allocations: 0 / 0.6575 GB, free: 2.758 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.4355, allocations: 314.8 kB / 0.6578 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.4356, allocations: 12.12 kB / 0.6578 GB, free: 2.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.4356, allocations: 12 kB / 0.6578 GB, free: 2.418 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4359, allocations: 73.02 kB / 0.6579 GB, free: 2.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.4359, allocations: 3.906 kB / 0.6579 GB, free: 2.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003666/0.4363, allocations: 121.5 kB / 0.658 GB, free: 2.219 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4363, allocations: 9.875 kB / 0.658 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4363, allocations: 0 / 0.658 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4363, allocations: 0 / 0.658 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4365, allocations: 27.98 kB / 0.658 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.4365, allocations: 0 / 0.658 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.4366, allocations: 19.97 kB / 0.658 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4366, allocations: 6.438 kB / 0.658 GB, free: 2.16 MB / 474.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 (6): * Single equations (assignments): 6 * 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 9.242e-05/0.4367, allocations: 108.9 kB / 0.6581 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.4368, allocations: 0 / 0.6581 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.4373, allocations: 149.2 kB / 0.6583 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4373, allocations: 192 / 0.6583 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4373, allocations: 0 / 0.6583 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4373, allocations: 5.859 kB / 0.6583 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4374, allocations: 150.1 kB / 0.6584 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4374, allocations: 4 kB / 0.6584 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.4376, allocations: 27.98 kB / 0.6585 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4376, allocations: 0 / 0.6585 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4377, allocations: 3.984 kB / 0.6585 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4377, allocations: 0 / 0.6585 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4377, allocations: 3.938 kB / 0.6585 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004815/0.4382, allocations: 179.4 kB / 0.6586 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4383, allocations: 89 kB / 0.6587 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.4383, allocations: 0 / 0.6587 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4384, allocations: 24.03 kB / 0.6587 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.4385, allocations: 4 kB / 0.6587 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.4385, allocations: 0 / 0.6587 GB, free: 1.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.68e-05/0.4385, allocations: 79.28 kB / 0.6588 GB, free: 1.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.4388, allocations: 43.98 kB / 0.6589 GB, free: 1.223 MB / 474.7 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 () * 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 (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.000302/0.4391, allocations: 143.2 kB / 0.659 GB, free: 1.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.4392, allocations: 35.98 kB / 0.659 GB, free: 1.035 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4393, allocations: 0 / 0.659 GB, free: 1.035 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.4393, allocations: 19.94 kB / 0.6591 GB, free: 1.016 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.4394, allocations: 6.344 kB / 0.6591 GB, free: 1.012 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4399, allocations: 142.3 kB / 0.6592 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.4403, allocations: 0.6997 MB / 0.6599 GB, free: 128 kB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4403, allocations: 4 kB / 0.6599 GB, free: 124 kB / 474.7 MB Notification: Performance of Templates: time 0.003518/0.4438, allocations: 1.306 MB / 0.6612 GB, free: 14.84 MB / 490.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)