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.00193/0.00193, allocations: 84.08 kB / 19.44 MB, free: 340 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.002049/0.002049, allocations: 161.7 kB / 22.76 MB, free: 1.66 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.003392/0.003392, allocations: 242.2 kB / 259.8 MB, free: 12.84 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 1.245/1.245, allocations: 138.4 MB / 454.7 MB, free: 1.465 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 1.362e-06/1.362e-06, allocations: 0 / 0.5544 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.367e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001939/0.001963, allocations: 0.7808 MB / 0.5551 GB, free: 0 / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.004516, allocations: 1.482 MB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.004547, allocations: 4 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.00457, allocations: 3.938 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.004621, allocations: 3.938 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.005148, allocations: 147.4 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.005239, allocations: 43.91 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.005279, allocations: 11.97 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.005377, allocations: 35.91 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.005441, allocations: 27.94 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005463, allocations: 4 kB / 0.5569 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.005894, allocations: 251.4 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.005922, allocations: 15.97 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.005965, allocations: 19.92 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.006347, allocations: 223.4 kB / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006349, allocations: 0 / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.006352, allocations: 7.938 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006356, allocations: 0 / 0.5574 GB, free: 13.71 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.0007019/0.007058, allocations: 423.8 kB / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.007094, allocations: 8.75 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.007514, allocations: 64.83 kB / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.00764, allocations: 116.5 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.007664, allocations: 8.359 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.007693, allocations: 8.375 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.008055, allocations: 145.6 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.008067, allocations: 4.188 kB / 0.5581 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.008081, allocations: 4.375 kB / 0.5581 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.008088, allocations: 3.938 kB / 0.5581 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.008453, allocations: 75.94 kB / 0.5582 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.009075, allocations: 327.6 kB / 0.5585 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.009586, allocations: 130.9 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.009768, allocations: 47.66 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.009788, allocations: 3.984 kB / 0.5587 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.009839, allocations: 41.39 kB / 0.5587 GB, free: 12.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.00984, allocations: 0 / 0.5587 GB, free: 12.19 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.01723/0.02707, allocations: 2.489 MB / 0.5611 GB, free: 9.641 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.02712, allocations: 55.41 kB / 0.5612 GB, free: 9.574 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.02724, allocations: 157.9 kB / 0.5613 GB, free: 9.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.0273, allocations: 33.7 kB / 0.5614 GB, free: 9.363 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.02738, allocations: 130.9 kB / 0.5615 GB, free: 9.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.02746, allocations: 43.66 kB / 0.5615 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.02766, allocations: 79.22 kB / 0.5616 GB, free: 9.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.02794, allocations: 0.4922 MB / 0.5621 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.02855, allocations: 211.8 kB / 0.5623 GB, free: 8.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.02939, allocations: 219.8 kB / 0.5625 GB, free: 8.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.03066, allocations: 439.5 kB / 0.5629 GB, free: 7.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.03066, allocations: 4 kB / 0.5629 GB, free: 7.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00155/0.03221, allocations: 0.5131 MB / 0.5634 GB, free: 7.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.03223, allocations: 8 kB / 0.5634 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.03224, allocations: 3.938 kB / 0.5634 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.03226, allocations: 0 / 0.5634 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.03308, allocations: 95.75 kB / 0.5635 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.03308, allocations: 4 kB / 0.5635 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.03364, allocations: 27.97 kB / 0.5636 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.03372, allocations: 23.92 kB / 0.5636 GB, free: 7.059 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 0.0001934/0.03391, allocations: 164.5 kB / 0.5637 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.03403, allocations: 8 kB / 0.5638 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.03408, allocations: 12.12 kB / 0.5638 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.03408, allocations: 0 / 0.5638 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.03409, allocations: 4 kB / 0.5638 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.03409, allocations: 0 / 0.5638 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.03641, allocations: 1.058 MB / 0.5648 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.03641, allocations: 0 / 0.5648 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.03721, allocations: 95.75 kB / 0.5649 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.03722, allocations: 8 kB / 0.5649 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/0.03728, allocations: 19.94 kB / 0.5649 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.03729, allocations: 3.938 kB / 0.5649 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.03729, allocations: 3.984 kB / 0.5649 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.03964, allocations: 0.9055 MB / 0.5658 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.0398, allocations: 35.91 kB / 0.5658 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.03987, allocations: 0 / 0.5658 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.0405, allocations: 35.95 kB / 0.5659 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.04063, allocations: 23.92 kB / 0.5659 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.0407, allocations: 31.86 kB / 0.5659 GB, free: 4.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.04078, allocations: 127.2 kB / 0.5661 GB, free: 4.406 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04078, allocations: 0 / 0.5661 GB, free: 4.406 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.04116, allocations: 55.94 kB / 0.5661 GB, free: 4.352 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.0002236/0.04138, allocations: 119 kB / 0.5662 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.04279, allocations: 475.3 kB / 0.5667 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04279, allocations: 0 / 0.5667 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.04349, allocations: 259.4 kB / 0.5669 GB, free: 3.496 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.04386, allocations: 32.36 kB / 0.567 GB, free: 3.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.04799, allocations: 0.6992 MB / 0.5676 GB, free: 2.742 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.04808, allocations: 75.28 kB / 0.5677 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.04864, allocations: 104.6 kB / 0.5678 GB, free: 2.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.04892, allocations: 56.36 kB / 0.5679 GB, free: 2.492 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04892, allocations: 0 / 0.5679 GB, free: 2.492 MB / 490.7 MB Notification: Performance of Templates: time 0.008706/0.05763, allocations: 3.765 MB / 0.5715 GB, free: 14.74 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: 5.995186770916916]