Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009021/0.0009021, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9701/0.9701, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002385/0.002385, allocations: 233.8 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7451/0.7451, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.639e-05, allocations: 2.312 kB / 0.5552 GB, free: 444 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001226/0.001252, allocations: 0.6196 MB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.002903, allocations: 1.478 MB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.002923, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.002941, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.002969, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.003477, allocations: 143.4 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.003552, allocations: 23.98 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.003593, allocations: 11.97 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.003652, allocations: 15.98 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.003734, allocations: 23.91 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003754, allocations: 11.94 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.004059, allocations: 243.5 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.004074, allocations: 7.922 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.004103, allocations: 15.97 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.004409, allocations: 203.4 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004411, allocations: 0 / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004412, allocations: 0 / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004416, allocations: 0 / 0.5579 GB, free: 13.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000481/0.004897, allocations: 396.2 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.004939, allocations: 8.75 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.005262, allocations: 52.88 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.005349, allocations: 104.6 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.005367, allocations: 8.375 kB / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.005389, allocations: 384 / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.005598, allocations: 112.5 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005606, allocations: 192 / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.005619, allocations: 384 / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.005629, allocations: 3.938 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.005697, allocations: 15.98 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.005857, allocations: 116.6 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.00611, allocations: 63.14 kB / 0.5587 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.006156, allocations: 19.69 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.006385, allocations: 55.91 kB / 0.5588 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.006411, allocations: 37.39 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.006412, allocations: 0 / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005289/0.006941, allocations: 217.7 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006972, allocations: 55.34 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.007043, allocations: 157.9 kB / 0.5593 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.00706, allocations: 29.69 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.007099, allocations: 126.9 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.00713, allocations: 23.8 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.007179, allocations: 31.38 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.007305, allocations: 496.1 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.007342, allocations: 12.12 kB / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.007376, allocations: 15.98 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.007456, allocations: 23.69 kB / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007457, allocations: 0 / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001061/0.007563, allocations: 66.14 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.007578, allocations: 8 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.007584, allocations: 4.062 kB / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.007597, allocations: 0 / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.007709, allocations: 19.92 kB / 0.5601 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.007718, allocations: 11.98 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.007771, allocations: 7.984 kB / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.007781, allocations: 3.984 kB / 0.5601 GB, free: 11.13 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 () * 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 7.705e-05/0.007858, allocations: 160.6 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.007879, allocations: 3.953 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.00807, allocations: 93.39 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008072, allocations: 0 / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.008078, allocations: 3.938 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00808, allocations: 0 / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.008178, allocations: 124.6 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008179, allocations: 0 / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.008277, allocations: 23.98 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.00828, allocations: 3.984 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.008292, allocations: 0 / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008293, allocations: 3.938 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008293, allocations: 0 / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.008502, allocations: 124.3 kB / 0.5606 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.008543, allocations: 7.984 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.00856, allocations: 4 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.008618, allocations: 7.984 kB / 0.5606 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.008644, allocations: 7.969 kB / 0.5606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.008652, allocations: 4 kB / 0.5607 GB, free: 10.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.00869, allocations: 127.2 kB / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00869, allocations: 0 / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.008934, allocations: 31.88 kB / 0.5608 GB, free: 10.34 MB / 490.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 (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.0001754/0.009109, allocations: 123.1 kB / 0.5609 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.00925, allocations: 47.73 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009252, allocations: 0 / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.009302, allocations: 31.77 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.009468, allocations: 4 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.009855, allocations: 164.6 kB / 0.5612 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.009897, allocations: 55.36 kB / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.009979, allocations: 19.94 kB / 0.5612 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.01003, allocations: 16.48 kB / 0.5612 GB, free: 9.824 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01003, allocations: 4 kB / 0.5612 GB, free: 9.82 MB / 490.7 MB Notification: Performance of Templates: time 0.003536/0.01357, allocations: 1.315 MB / 0.5625 GB, free: 8.52 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5858837901614606]