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.001072/0.001072, allocations: 93.06 kB / 19.65 MB, free: 280 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.001161/0.001161, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9613/0.9613, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.00166/0.00166, allocations: 232.8 kB / 260.2 MB, free: 12.83 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.7663/0.7663, allocations: 138.4 MB / 455.2 MB, free: 1.547 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.004e-06/2.004e-06, allocations: 0 / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.281e-05, allocations: 2.312 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001595/0.001627, allocations: 0.7885 MB / 0.556 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003146, allocations: 1.505 MB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.00318, allocations: 0 / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.003217, allocations: 7.938 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.003271, allocations: 0 / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.003784, allocations: 155.2 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.003871, allocations: 47.89 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.003913, allocations: 11.97 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.004002, allocations: 31.97 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.00405, allocations: 27.89 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.004067, allocations: 4 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.004323, allocations: 255.5 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.004342, allocations: 15.97 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.004368, allocations: 15.92 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.00462, allocations: 223.4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.004623, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004624, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004629, allocations: 0 / 0.5582 GB, free: 13.36 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.0004664/0.005095, allocations: 424 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.005136, allocations: 12.75 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.005374, allocations: 60.83 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.005458, allocations: 108.6 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.005477, allocations: 8.375 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.005502, allocations: 8.328 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.005735, allocations: 158.2 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005746, allocations: 192 / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.00576, allocations: 4.375 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.005769, allocations: 7.938 kB / 0.5589 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.005835, allocations: 31.97 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.006233, allocations: 319.6 kB / 0.5593 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.006391, allocations: 86.89 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.006423, allocations: 23.69 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.006435, allocations: 4 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.006458, allocations: 37.38 kB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006459, allocations: 0 / 0.5594 GB, free: 11.95 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.006787/0.01325, allocations: 1.998 MB / 0.5614 GB, free: 9.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01328, allocations: 55.39 kB / 0.5614 GB, free: 9.824 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.01334, allocations: 161.9 kB / 0.5616 GB, free: 9.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.01338, allocations: 25.7 kB / 0.5616 GB, free: 9.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.0136, allocations: 138.9 kB / 0.5617 GB, free: 9.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.01365, allocations: 35.66 kB / 0.5618 GB, free: 9.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01376, allocations: 75.23 kB / 0.5618 GB, free: 9.359 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01389, allocations: 0.4961 MB / 0.5623 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.01411, allocations: 143.9 kB / 0.5625 GB, free: 8.711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.01429, allocations: 147.6 kB / 0.5626 GB, free: 8.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.01467, allocations: 287.5 kB / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01467, allocations: 0 / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006443/0.01532, allocations: 381.5 kB / 0.5632 GB, free: 7.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01533, allocations: 8 kB / 0.5632 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01534, allocations: 0 / 0.5632 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01535, allocations: 4.172 kB / 0.5633 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.0158, allocations: 87.77 kB / 0.5633 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01581, allocations: 0 / 0.5633 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.01612, allocations: 43.89 kB / 0.5634 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.01618, allocations: 23.92 kB / 0.5634 GB, free: 7.742 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.0001426/0.01632, allocations: 164.5 kB / 0.5636 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.01642, allocations: 4 kB / 0.5636 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.01646, allocations: 16.11 kB / 0.5636 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01647, allocations: 4 kB / 0.5636 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01647, allocations: 0 / 0.5636 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01647, allocations: 4 kB / 0.5636 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009331/0.01741, allocations: 0.894 MB / 0.5645 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01741, allocations: 0 / 0.5645 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.01776, allocations: 83.83 kB / 0.5645 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01776, allocations: 0 / 0.5645 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.0178, allocations: 31.86 kB / 0.5646 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.01781, allocations: 8 kB / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01781, allocations: 0 / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/0.01876, allocations: 0.6478 MB / 0.5652 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.01884, allocations: 35.91 kB / 0.5652 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.01888, allocations: 0 / 0.5652 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.01913, allocations: 35.95 kB / 0.5653 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.0192, allocations: 27.95 kB / 0.5653 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.01924, allocations: 27.88 kB / 0.5653 GB, free: 5.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.01927, allocations: 123.2 kB / 0.5654 GB, free: 5.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01927, allocations: 4 kB / 0.5655 GB, free: 5.516 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01953, allocations: 51.94 kB / 0.5655 GB, free: 5.465 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.000155/0.01969, allocations: 111.2 kB / 0.5656 GB, free: 5.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.02015, allocations: 331.3 kB / 0.5659 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02015, allocations: 4 kB / 0.5659 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.02037, allocations: 187.4 kB / 0.5661 GB, free: 4.824 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.0206, allocations: 40.03 kB / 0.5661 GB, free: 4.785 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.02232, allocations: 0.6175 MB / 0.5667 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.02236, allocations: 67.28 kB / 0.5668 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.02266, allocations: 100.7 kB / 0.5669 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.02285, allocations: 56.38 kB / 0.567 GB, free: 3.902 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02285, allocations: 0 / 0.567 GB, free: 3.902 MB / 490.7 MB Notification: Performance of Templates: time 0.005498/0.02835, allocations: 3.878 MB / 0.5707 GB, free: 44 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.6412689411081374]