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.001091/0.001091, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001014/0.001014, allocations: 173 kB / 23.49 MB, free: 1.062 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.9999/0.9999, allocations: 177.1 MB / 203.8 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.001738/0.001738, allocations: 233.1 kB / 260.5 MB, free: 12.89 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.7014/0.7014, allocations: 138.4 MB / 455.4 MB, free: 1.508 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.863e-06/1.863e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.75e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001236/0.001253, allocations: 0.7925 MB / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.002819, allocations: 1.505 MB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.002851, allocations: 0 / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002878, allocations: 3.938 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.002919, allocations: 0 / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.003316, allocations: 155.2 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.003391, allocations: 51.89 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.00343, allocations: 3.984 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.003512, allocations: 35.91 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.003557, allocations: 23.95 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.003572, allocations: 4 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.003818, allocations: 247.5 kB / 0.5579 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.003836, allocations: 23.91 kB / 0.5579 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.00386, allocations: 15.98 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.004094, allocations: 227.2 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004096, allocations: 0 / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004097, allocations: 0 / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004101, allocations: 4 kB / 0.5581 GB, free: 13.68 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.0004315/0.004532, allocations: 424.1 kB / 0.5585 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004567, allocations: 8.75 kB / 0.5585 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.004795, allocations: 56.83 kB / 0.5586 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.004874, allocations: 108.6 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004892, allocations: 8.375 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.004915, allocations: 8.328 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.005122, allocations: 158.3 kB / 0.5589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.005138, allocations: 12.12 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005151, allocations: 384 / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.005159, allocations: 3.938 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.005225, allocations: 27.98 kB / 0.5589 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.005597, allocations: 323.6 kB / 0.5592 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.005741, allocations: 82.91 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.005777, allocations: 31.67 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.005789, allocations: 0 / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.00581, allocations: 37.39 kB / 0.5594 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.00581, allocations: 0 / 0.5594 GB, free: 12.27 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.00699/0.0128, allocations: 1.994 MB / 0.5613 GB, free: 10.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.01283, allocations: 55.41 kB / 0.5614 GB, free: 10.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.01291, allocations: 165.9 kB / 0.5615 GB, free: 9.969 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.01294, allocations: 29.7 kB / 0.5615 GB, free: 9.934 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.01298, allocations: 130.9 kB / 0.5617 GB, free: 9.801 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.01303, allocations: 43.64 kB / 0.5617 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.01314, allocations: 75.23 kB / 0.5618 GB, free: 9.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.01324, allocations: 0.4883 MB / 0.5623 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01343, allocations: 143.9 kB / 0.5624 GB, free: 9.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.01361, allocations: 139.9 kB / 0.5625 GB, free: 8.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.014, allocations: 291.5 kB / 0.5628 GB, free: 8.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.014, allocations: 0 / 0.5628 GB, free: 8.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00054/0.01454, allocations: 389 kB / 0.5632 GB, free: 8.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01455, allocations: 7.938 kB / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01455, allocations: 0 / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01457, allocations: 0 / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.01492, allocations: 95.75 kB / 0.5633 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.01492, allocations: 4 kB / 0.5633 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.01515, allocations: 27.97 kB / 0.5633 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.01519, allocations: 27.92 kB / 0.5633 GB, free: 8.066 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.0001056/0.01529, allocations: 160.5 kB / 0.5635 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.01537, allocations: 8 kB / 0.5635 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.0154, allocations: 12.12 kB / 0.5635 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0154, allocations: 0 / 0.5635 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.0154, allocations: 0 / 0.5635 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.0154, allocations: 4 kB / 0.5635 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.01644, allocations: 0.9017 MB / 0.5644 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01644, allocations: 0 / 0.5644 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.01679, allocations: 87.81 kB / 0.5645 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01679, allocations: 0 / 0.5645 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.01682, allocations: 27.94 kB / 0.5645 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01682, allocations: 0 / 0.5645 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01682, allocations: 0 / 0.5645 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.01761, allocations: 0.6517 MB / 0.5651 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.0177, allocations: 39.89 kB / 0.5652 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.01774, allocations: 0 / 0.5652 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.018, allocations: 31.97 kB / 0.5652 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.01807, allocations: 23.92 kB / 0.5652 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.01811, allocations: 35.89 kB / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.732e-05/0.01814, allocations: 131.1 kB / 0.5654 GB, free: 5.836 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01814, allocations: 0 / 0.5654 GB, free: 5.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01839, allocations: 51.94 kB / 0.5654 GB, free: 5.785 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.000151/0.01854, allocations: 111.2 kB / 0.5655 GB, free: 5.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.019, allocations: 331.3 kB / 0.5659 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01901, allocations: 0 / 0.5659 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.01923, allocations: 191.5 kB / 0.566 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01945, allocations: 36.94 kB / 0.5661 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.02122, allocations: 0.6175 MB / 0.5667 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.02126, allocations: 67.28 kB / 0.5667 GB, free: 4.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.02158, allocations: 88.73 kB / 0.5668 GB, free: 4.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.02175, allocations: 60.36 kB / 0.5669 GB, free: 4.234 MB / 490.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02175, allocations: 0 / 0.5669 GB, free: 4.234 MB / 490.7 MB Notification: Performance of Templates: time 0.004803/0.02656, allocations: 3.779 MB / 0.5706 GB, free: 480 kB / 490.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.6945998820010573]