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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008922/0.0008921, allocations: 171.7 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4729/0.4729, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.338/1.338, allocations: 223.3 MB / 348.4 MB, free: 5 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.001191/0.001191, allocations: 91.09 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 20 kB / 0.4901 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 71.02 MB / 0.5595 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4683, allocations: 100.9 MB / 0.658 GB, free: 8.578 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4685, allocations: 79.94 kB / 0.6581 GB, free: 8.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4807, allocations: 4.13 MB / 0.6621 GB, free: 4.371 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4807, allocations: 0 / 0.6621 GB, free: 4.371 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4808, allocations: 0 / 0.6621 GB, free: 4.371 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.0004228/0.4812, allocations: 375.3 kB / 0.6625 GB, free: 3.953 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4812, allocations: 8.031 kB / 0.6625 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.4816, allocations: 64.78 kB / 0.6625 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4818, allocations: 168.4 kB / 0.6627 GB, free: 3.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.4818, allocations: 8.375 kB / 0.6627 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4819, allocations: 4.375 kB / 0.6627 GB, free: 3.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4821, allocations: 74.2 kB / 0.6628 GB, free: 3.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4821, allocations: 192 / 0.6628 GB, free: 3.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.4822, allocations: 11.88 kB / 0.6628 GB, free: 3.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4822, allocations: 4 kB / 0.6628 GB, free: 3.574 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.4825, allocations: 75.92 kB / 0.6629 GB, free: 3.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.4826, allocations: 161.7 kB / 0.663 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.4832, allocations: 142.5 kB / 0.6632 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4834, allocations: 52.91 kB / 0.6632 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.4834, allocations: 4 kB / 0.6632 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4834, allocations: 39.03 kB / 0.6632 GB, free: 3.039 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4834, allocations: 0 / 0.6632 GB, free: 3.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.001113/0.4846, allocations: 438.1 kB / 0.6637 GB, free: 2.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4846, allocations: 51.41 kB / 0.6637 GB, free: 2.496 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.4847, allocations: 105.8 kB / 0.6638 GB, free: 2.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4847, allocations: 25.7 kB / 0.6638 GB, free: 2.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.4848, allocations: 84.08 kB / 0.6639 GB, free: 2.266 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4848, allocations: 15.75 kB / 0.6639 GB, free: 2.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.4848, allocations: 4 kB / 0.6639 GB, free: 2.246 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4849, allocations: 314.8 kB / 0.6642 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4851, allocations: 48.08 kB / 0.6643 GB, free: 1.883 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4852, allocations: 39.97 kB / 0.6643 GB, free: 1.844 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.4855, allocations: 92.8 kB / 0.6644 GB, free: 1.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4855, allocations: 0 / 0.6644 GB, free: 1.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003232/0.4859, allocations: 129.7 kB / 0.6645 GB, free: 1.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4859, allocations: 15.92 kB / 0.6645 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4859, allocations: 0 / 0.6645 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4859, allocations: 0 / 0.6645 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.4861, allocations: 27.98 kB / 0.6646 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4861, allocations: 0 / 0.6646 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.4862, allocations: 15.98 kB / 0.6646 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4862, allocations: 0 / 0.6646 GB, free: 1.559 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.4863, allocations: 121.8 kB / 0.6647 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4863, allocations: 3.938 kB / 0.6647 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.4867, allocations: 145.1 kB / 0.6648 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4867, allocations: 3.984 kB / 0.6648 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4868, allocations: 0 / 0.6648 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4868, allocations: 4.328 kB / 0.6649 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.4869, allocations: 165.7 kB / 0.665 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4869, allocations: 0 / 0.665 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4871, allocations: 23.98 kB / 0.665 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4871, allocations: 3.938 kB / 0.665 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4871, allocations: 7.984 kB / 0.665 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4871, allocations: 4 kB / 0.665 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4871, allocations: 0 / 0.665 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.4876, allocations: 209 kB / 0.6652 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.4877, allocations: 85 kB / 0.6653 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4877, allocations: 7.969 kB / 0.6653 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4879, allocations: 11.98 kB / 0.6653 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.4879, allocations: 12.05 kB / 0.6654 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.4879, allocations: 8.188 kB / 0.6654 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.4879, allocations: 75.28 kB / 0.6654 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4879, allocations: 0 / 0.6654 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.4882, allocations: 39.94 kB / 0.6655 GB, free: 0.5391 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 () * 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 (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.0002182/0.4884, allocations: 151.5 kB / 0.6656 GB, free: 388 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.4888, allocations: 96.03 kB / 0.6657 GB, free: 292 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4888, allocations: 4 kB / 0.6657 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.4889, allocations: 51.89 kB / 0.6658 GB, free: 236 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.4891, allocations: 11.94 kB / 0.6658 GB, free: 224 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.4897, allocations: 192.6 kB / 0.666 GB, free: 0 / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.4899, allocations: 0.6809 MB / 0.6666 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.4901, allocations: 19.98 kB / 0.6666 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.4901, allocations: 11.44 kB / 0.6667 GB, free: 15.26 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4901, allocations: 0 / 0.6667 GB, free: 15.26 MB / 490.7 MB Notification: Performance of Templates: time 0.003163/0.4933, allocations: 1.093 MB / 0.6677 GB, free: 14.17 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)