Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.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.0009521/0.0009521, 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.001094/0.001094, allocations: 165 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001614/0.001614, allocations: 238.3 kB / 260.2 MB, free: 12.82 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.79/0.79, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.501e-05, allocations: 6.312 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002247/0.002282, allocations: 0.6467 MB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.004578, allocations: 1.478 MB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.004631, allocations: 0 / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.004657, allocations: 3.938 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.004746, allocations: 3.938 kB / 0.5573 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.005312, allocations: 127.4 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.005392, allocations: 27.86 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.005444, allocations: 7.984 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.005504, allocations: 15.98 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.005576, allocations: 19.91 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.005596, allocations: 4 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.006061, allocations: 243.5 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.006083, allocations: 4 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.00611, allocations: 11.92 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.006461, allocations: 199.5 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.006465, allocations: 4 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.006467, allocations: 0 / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.006473, allocations: 0 / 0.5579 GB, free: 13.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005424/0.007015, allocations: 412.1 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.007069, allocations: 16.69 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.00739, allocations: 40.89 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.007521, allocations: 116.6 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.007544, allocations: 8.312 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.007574, allocations: 4.375 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.007801, allocations: 70.92 kB / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.007814, allocations: 192 / 0.5585 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007826, allocations: 4.375 kB / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.007838, allocations: 7.938 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.007904, allocations: 15.98 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.008084, allocations: 128.6 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.008217, allocations: 62.98 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.008262, allocations: 23.81 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.008283, allocations: 0 / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.008308, allocations: 33.39 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.008309, allocations: 0 / 0.5588 GB, free: 12.59 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=9): time 0.001548/0.009857, allocations: 401 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.009892, allocations: 55.41 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.00998, allocations: 173.9 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.009995, allocations: 25.7 kB / 0.5594 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.01003, allocations: 134.9 kB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.01007, allocations: 31.73 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.01012, allocations: 31.36 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01023, allocations: 492.1 kB / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.01029, allocations: 27.98 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.01033, allocations: 23.98 kB / 0.5601 GB, free: 11.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.01042, allocations: 59.61 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01042, allocations: 0 / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001587/0.01058, allocations: 97.56 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.0106, allocations: 4 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-06/0.0106, allocations: 3.938 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01062, allocations: 0 / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.01078, allocations: 47.95 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01078, allocations: 0 / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.01085, allocations: 23.92 kB / 0.5604 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01086, allocations: 7.969 kB / 0.5604 GB, free: 10.9 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 (9): * Single equations (assignments): 9 * 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.0002567/0.01112, allocations: 160.6 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.01114, allocations: 4 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.01118, allocations: 12.38 kB / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01118, allocations: 8 kB / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01119, allocations: 0 / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01119, allocations: 0 / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.01176, allocations: 440.5 kB / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.01176, allocations: 7.984 kB / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.01186, allocations: 32.72 kB / 0.561 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01186, allocations: 4 kB / 0.561 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01187, allocations: 0 / 0.561 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01188, allocations: 7.984 kB / 0.561 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01188, allocations: 0 / 0.561 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.01209, allocations: 267.5 kB / 0.5613 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.0121, allocations: 7.953 kB / 0.5613 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01211, allocations: 8 kB / 0.5613 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.0122, allocations: 19.97 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.01224, allocations: 7.984 kB / 0.5613 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01225, allocations: 7.984 kB / 0.5613 GB, free: 9.844 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.01229, allocations: 135.2 kB / 0.5615 GB, free: 9.711 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 0 / 0.5615 GB, free: 9.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01251, allocations: 43.86 kB / 0.5615 GB, free: 9.668 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0001928/0.01271, allocations: 127.1 kB / 0.5616 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.01288, allocations: 80.25 kB / 0.5617 GB, free: 9.449 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01288, allocations: 0 / 0.5617 GB, free: 9.449 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.01294, allocations: 47.72 kB / 0.5617 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01313, allocations: 26.73 kB / 0.5618 GB, free: 9.375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.01369, allocations: 279.8 kB / 0.562 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01373, allocations: 55.36 kB / 0.5621 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.01379, allocations: 24.72 kB / 0.5621 GB, free: 8.969 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.01385, allocations: 20.48 kB / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01385, allocations: 0 / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of Templates: time 0.003852/0.01771, allocations: 1.801 MB / 0.5639 GB, free: 7.16 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9058178127743304]