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.0009856/0.0009856, allocations: 82.61 kB / 19.87 MB, free: 4.613 MB / 18.57 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.0009775/0.0009775, allocations: 173.1 kB / 23.28 MB, free: 1.215 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 1.027/1.027, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.002622/0.002622, allocations: 238.6 kB / 260.5 MB, free: 12.64 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.7078/0.7078, allocations: 138.4 MB / 455.5 MB, free: 29.93 MB / 410.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.903e-06/1.903e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.686e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002059/0.002085, allocations: 0.6236 MB / 0.5562 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003466, allocations: 1.458 MB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.003491, allocations: 0 / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.003508, allocations: 3.938 kB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.003534, allocations: 0 / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.003879, allocations: 147.4 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.00393, allocations: 31.95 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.804e-05/0.003958, allocations: 4 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.004015, allocations: 19.92 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.004071, allocations: 27.95 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.004086, allocations: 0 / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.004405, allocations: 251.4 kB / 0.5581 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.004423, allocations: 11.98 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.004441, allocations: 11.98 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.004705, allocations: 203.4 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004707, allocations: 0 / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004708, allocations: 0 / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.00471, allocations: 0 / 0.5583 GB, free: 13.03 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.0003273/0.005038, allocations: 388 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005073, allocations: 16.75 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.005274, allocations: 57.11 kB / 0.5588 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.233e-05/0.005336, allocations: 112.6 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005347, allocations: 384 / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.005361, allocations: 8.375 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005488, allocations: 96.61 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.005494, allocations: 192 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.005502, allocations: 4.375 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005507, allocations: 3.938 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.46e-05/0.005541, allocations: 19.92 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.005644, allocations: 101.2 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.005791, allocations: 55.16 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.005815, allocations: 19.77 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.005954, allocations: 47.95 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.005971, allocations: 33.39 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005972, allocations: 4 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003218/0.006294, allocations: 213.6 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.006316, allocations: 55.41 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.006553, allocations: 161.9 kB / 0.5597 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006565, allocations: 29.7 kB / 0.5597 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.006594, allocations: 130.9 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.006617, allocations: 15.83 kB / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.00665, allocations: 31.36 kB / 0.5599 GB, free: 11.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.006747, allocations: 496.2 kB / 0.5604 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.006766, allocations: 8 kB / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.006783, allocations: 7.984 kB / 0.5604 GB, free: 10.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.006827, allocations: 27.67 kB / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.006828, allocations: 0 / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.72e-05/0.006905, allocations: 65.83 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.006914, allocations: 4 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.006917, allocations: 0 / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006928, allocations: 8 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.006994, allocations: 23.97 kB / 0.5605 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.006998, allocations: 3.938 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.007027, allocations: 4 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.007034, allocations: 7.938 kB / 0.5605 GB, free: 10.58 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 5.94e-05/0.007093, allocations: 160.6 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.007105, allocations: 4.328 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.007218, allocations: 85.41 kB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00722, allocations: 3.984 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.007221, allocations: 0 / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007225, allocations: 3.938 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.899e-05/0.007294, allocations: 105.2 kB / 0.5609 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007295, allocations: 3.984 kB / 0.5609 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.007353, allocations: 23.98 kB / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007354, allocations: 0 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.007359, allocations: 0 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.00736, allocations: 0 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007361, allocations: 0 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.007487, allocations: 128.2 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.007512, allocations: 3.984 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007524, allocations: 4 kB / 0.561 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.007559, allocations: 12.02 kB / 0.561 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.007574, allocations: 4 kB / 0.561 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-06/0.007579, allocations: 0 / 0.561 GB, free: 9.988 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.007608, allocations: 131.2 kB / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007608, allocations: 0 / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.007746, allocations: 27.88 kB / 0.5612 GB, free: 9.832 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.000135/0.007881, allocations: 131 kB / 0.5613 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.007972, allocations: 43.78 kB / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007973, allocations: 4.094 kB / 0.5614 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.008012, allocations: 23.62 kB / 0.5614 GB, free: 9.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.008123, allocations: 7.984 kB / 0.5614 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.008387, allocations: 155.9 kB / 0.5615 GB, free: 9.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.489e-05/0.008412, allocations: 55.36 kB / 0.5616 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.008463, allocations: 19.94 kB / 0.5616 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.008526, allocations: 86.12 kB / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008527, allocations: 0 / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of Templates: time 0.002637/0.01116, allocations: 1.33 MB / 0.563 GB, free: 7.949 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.636592609807849]