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.0008794/0.0008794, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009612/0.0009612, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9216/0.9216, 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.001714/0.001714, allocations: 229.7 kB / 260.5 MB, free: 12.65 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.7218/0.7218, allocations: 138.4 MB / 455.5 MB, free: 29.98 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.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.024e-06/2.024e-06, allocations: 0 / 0.5556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.869e-05, allocations: 6.109 kB / 0.5557 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001197/0.001216, allocations: 0.7967 MB / 0.5564 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.002553, allocations: 1.485 MB / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.002585, allocations: 4 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.00261, allocations: 7.922 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.002651, allocations: 7.938 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.003018, allocations: 151.3 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.003084, allocations: 47.89 kB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.003115, allocations: 8 kB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.0032, allocations: 35.95 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.003245, allocations: 27.89 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.003259, allocations: 4 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.003505, allocations: 251.5 kB / 0.5584 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.003523, allocations: 11.98 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003545, allocations: 23.91 kB / 0.5584 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.00376, allocations: 219.4 kB / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003762, allocations: 4 kB / 0.5587 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003763, allocations: 0 / 0.5587 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.003766, allocations: 0 / 0.5587 GB, free: 12.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007355/0.004502, allocations: 424.1 kB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.004536, allocations: 12.75 kB / 0.5591 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.004727, allocations: 56.83 kB / 0.5591 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.445e-05/0.004791, allocations: 108.6 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.004806, allocations: 16.31 kB / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.004824, allocations: 8.312 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.004993, allocations: 154.3 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005001, allocations: 192 / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.005008, allocations: 384 / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005014, allocations: 3.938 kB / 0.5594 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.005057, allocations: 23.98 kB / 0.5594 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.005365, allocations: 316 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.005474, allocations: 67.03 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.0055, allocations: 27.62 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.005513, allocations: 3.984 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.005533, allocations: 37.39 kB / 0.5599 GB, free: 11.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005534, allocations: 0 / 0.5599 GB, free: 11.33 MB / 490.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.005998/0.01153, allocations: 1.877 MB / 0.5617 GB, free: 9.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.01155, allocations: 55.41 kB / 0.5617 GB, free: 9.324 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.01161, allocations: 157.9 kB / 0.5619 GB, free: 9.152 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.01164, allocations: 29.7 kB / 0.5619 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.01168, allocations: 134.8 kB / 0.562 GB, free: 8.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.01173, allocations: 43.62 kB / 0.5621 GB, free: 8.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.01182, allocations: 75.22 kB / 0.5622 GB, free: 8.855 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01192, allocations: 0.4883 MB / 0.5626 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.01206, allocations: 120 kB / 0.5628 GB, free: 8.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01219, allocations: 119.9 kB / 0.5629 GB, free: 8.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.01248, allocations: 259.3 kB / 0.5631 GB, free: 7.867 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.01248, allocations: 0 / 0.5631 GB, free: 7.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000417/0.01289, allocations: 329.4 kB / 0.5634 GB, free: 7.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.0129, allocations: 7.984 kB / 0.5634 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01291, allocations: 1.016 kB / 0.5634 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.01292, allocations: 0 / 0.5634 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.01322, allocations: 95.77 kB / 0.5635 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01323, allocations: 0 / 0.5635 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.01343, allocations: 31.95 kB / 0.5636 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.01346, allocations: 23.94 kB / 0.5636 GB, free: 7.383 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 (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 9.151e-05/0.01355, allocations: 160.5 kB / 0.5637 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.01362, allocations: 12.14 kB / 0.5637 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.01365, allocations: 20.11 kB / 0.5638 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01365, allocations: 3.984 kB / 0.5638 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01365, allocations: 0 / 0.5638 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01365, allocations: 0 / 0.5638 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.01442, allocations: 0.8356 MB / 0.5646 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01442, allocations: 0 / 0.5646 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.01472, allocations: 95.81 kB / 0.5647 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01473, allocations: 4 kB / 0.5647 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.01476, allocations: 23.94 kB / 0.5647 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01476, allocations: 0 / 0.5647 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01476, allocations: 3.984 kB / 0.5647 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.0154, allocations: 0.5814 MB / 0.5653 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.01548, allocations: 43.84 kB / 0.5653 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.01551, allocations: 4 kB / 0.5653 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.01574, allocations: 32 kB / 0.5653 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.01579, allocations: 27.91 kB / 0.5654 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.01582, allocations: 27.94 kB / 0.5654 GB, free: 5.398 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.985e-05/0.01585, allocations: 123.2 kB / 0.5655 GB, free: 5.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01585, allocations: 4 kB / 0.5655 GB, free: 5.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01608, allocations: 51.94 kB / 0.5656 GB, free: 5.223 MB / 490.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.0001213/0.0162, allocations: 119.1 kB / 0.5657 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007104/0.01691, allocations: 287.3 kB / 0.566 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01691, allocations: 0 / 0.566 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.01708, allocations: 164.1 kB / 0.5661 GB, free: 4.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01728, allocations: 36.95 kB / 0.5662 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.01879, allocations: 0.598 MB / 0.5667 GB, free: 3.984 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.01883, allocations: 64.09 kB / 0.5668 GB, free: 3.902 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.0191, allocations: 84.73 kB / 0.5669 GB, free: 3.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.01936, allocations: 134 kB / 0.567 GB, free: 3.688 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01936, allocations: 0 / 0.567 GB, free: 3.688 MB / 490.7 MB Notification: Performance of Templates: time 0.004323/0.02369, allocations: 3.862 MB / 0.5708 GB, free: 15.84 MB / 0.4948 GB " [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.5857737101614475]