Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001313/0.001313, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001681/0.001681, allocations: 177 kB / 23.36 MB, free: 1.137 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001855/0.001855, allocations: 245.3 kB / 260.5 MB, free: 12.69 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.7212/0.7212, allocations: 138.4 MB / 402.2 MB, free: 0.5156 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 1.578 kB / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.359e-05, allocations: 7.922 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002236/0.00226, allocations: 0.7994 MB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.004483, allocations: 1.505 MB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.004523, allocations: 4.938 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.00455, allocations: 1.562 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.0046, allocations: 5.578 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.00532, allocations: 147.6 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.005432, allocations: 55.44 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.00547, allocations: 4.938 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005581, allocations: 40.53 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.005643, allocations: 25.02 kB / 465 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.005663, allocations: 5.031 kB / 465 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.006138, allocations: 250.4 kB / 465.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.006172, allocations: 14.73 kB / 465.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.006203, allocations: 23.27 kB / 465.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.006611, allocations: 215.2 kB / 465.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006614, allocations: 0 / 465.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006616, allocations: 1.469 kB / 465.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.006619, allocations: 0 / 465.5 MB, free: 15.14 MB / 426.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.0004908/0.00711, allocations: 298.4 kB / 465.8 MB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.007146, allocations: 11.48 kB / 465.8 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.007438, allocations: 56.14 kB / 465.8 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.007534, allocations: 121.5 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.007555, allocations: 4.781 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.007587, allocations: 10.88 kB / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.007844, allocations: 149.5 kB / 466.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.007856, allocations: 4.641 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.007868, allocations: 5.688 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.007876, allocations: 7.75 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.007949, allocations: 26.55 kB / 466.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.008338, allocations: 205.7 kB / 466.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.008494, allocations: 58.78 kB / 466.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.008528, allocations: 20.59 kB / 466.4 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.008542, allocations: 5.438 kB / 466.4 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.008568, allocations: 40.03 kB / 466.5 MB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.00857, allocations: 0 / 466.5 MB, free: 14.35 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01098/0.01955, allocations: 2.145 MB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01958, allocations: 51.41 kB / 468.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.33e-05/0.01964, allocations: 106.7 kB / 468.8 MB, free: 12.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.01967, allocations: 31.23 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.0197, allocations: 88.08 kB / 468.9 MB, free: 11.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.01975, allocations: 47.56 kB / 468.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.01985, allocations: 61.56 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.01993, allocations: 319.8 kB / 469.3 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.02005, allocations: 91.94 kB / 469.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.02016, allocations: 101.5 kB / 469.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.02042, allocations: 230.2 kB / 469.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02042, allocations: 0.8125 kB / 469.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003195/0.02074, allocations: 251.2 kB / 470 MB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.02076, allocations: 4 kB / 470 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.02076, allocations: 0 / 470 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.02077, allocations: 0.5625 kB / 470 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.02108, allocations: 85.53 kB / 470 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.02109, allocations: 0 / 470 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.02128, allocations: 27.19 kB / 470.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.02131, allocations: 27.92 kB / 470.1 MB, free: 10.68 MB / 426.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 (13): * Single equations (assignments): 13 * 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 0.0001067/0.02142, allocations: 109.8 kB / 470.2 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.02148, allocations: 12.84 kB / 470.2 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.02152, allocations: 12.12 kB / 470.2 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02152, allocations: 5.922 kB / 470.2 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02152, allocations: 0 / 470.2 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.02153, allocations: 0 / 470.2 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.02212, allocations: 467.3 kB / 470.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.02212, allocations: 2.188 kB / 470.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.02241, allocations: 87.75 kB / 470.8 MB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.02242, allocations: 4 kB / 470.8 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.02245, allocations: 21.3 kB / 470.8 MB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.02245, allocations: 1.938 kB / 470.8 MB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02245, allocations: 0 / 470.8 MB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.02296, allocations: 449.4 kB / 471.2 MB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.02303, allocations: 22.08 kB / 471.3 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.02308, allocations: 4 kB / 471.3 MB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.0233, allocations: 33.3 kB / 471.3 MB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.02335, allocations: 23.92 kB / 471.3 MB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.02338, allocations: 15.94 kB / 471.3 MB, free: 9.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.404e-05/0.0234, allocations: 21.64 kB / 471.4 MB, free: 9.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0234, allocations: 0 / 471.4 MB, free: 9.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.02363, allocations: 52 kB / 471.4 MB, free: 9.336 MB / 426.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 () * Number of clocked 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 (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.0001639/0.02379, allocations: 96.28 kB / 471.5 MB, free: 9.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.02409, allocations: 239.1 kB / 471.7 MB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.0241, allocations: 0 / 471.7 MB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.02425, allocations: 137.9 kB / 471.9 MB, free: 8.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.02442, allocations: 40.09 kB / 471.9 MB, free: 8.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.0259, allocations: 0.5587 MB / 472.5 MB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.02594, allocations: 64.38 kB / 472.5 MB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.02625, allocations: 89.2 kB / 472.6 MB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.02651, allocations: 108.5 kB / 472.7 MB, free: 8.062 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02651, allocations: 0 / 472.7 MB, free: 8.062 MB / 426.7 MB Notification: Performance of Templates: time 0.005291/0.03181, allocations: 3.852 MB / 476.6 MB, free: 4.301 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.675796235911548]