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.001457/0.001457, allocations: 88.72 kB / 19.44 MB, free: 356 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.001579/0.001579, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.002629/0.002629, allocations: 229.8 kB / 259.8 MB, free: 12.85 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.126/1.126, allocations: 138.4 MB / 454.7 MB, free: 1.473 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 1.643e-06/1.643e-06, allocations: 0 / 0.5544 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.633e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001648/0.001675, allocations: 0.6238 MB / 0.555 GB, free: 140 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.003991, allocations: 1.435 MB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.004017, allocations: 0 / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.00403, allocations: 0 / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.004113, allocations: 3.938 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.004583, allocations: 127.4 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.004649, allocations: 31.89 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.004684, allocations: 4 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.004744, allocations: 19.92 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.004804, allocations: 11.98 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.004822, allocations: 4 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.005281, allocations: 247.4 kB / 0.5568 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.005309, allocations: 15.91 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.005333, allocations: 8 kB / 0.5569 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.005682, allocations: 199.5 kB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005684, allocations: 0 / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005684, allocations: 0 / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.005689, allocations: 0 / 0.5571 GB, free: 14.02 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.0005554/0.006244, allocations: 305.7 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.006281, allocations: 8.75 kB / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.006718, allocations: 68.86 kB / 0.5574 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.006861, allocations: 117.7 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.006876, allocations: 384 / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.006902, allocations: 8.375 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.007202, allocations: 74.2 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007213, allocations: 192 / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.007223, allocations: 384 / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.007229, allocations: 3.938 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.007609, allocations: 67.92 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.007799, allocations: 129.2 kB / 0.5578 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.008394, allocations: 118.5 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.008595, allocations: 44.94 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.008611, allocations: 0 / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.008644, allocations: 30.56 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.008645, allocations: 0 / 0.558 GB, free: 12.96 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.004444/0.01309, allocations: 0.7997 MB / 0.5588 GB, free: 12.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.01314, allocations: 59.39 kB / 0.5588 GB, free: 12.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.01327, allocations: 113.8 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.0133, allocations: 29.7 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.01335, allocations: 80.14 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.0134, allocations: 27.75 kB / 0.5591 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.01347, allocations: 25.7 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01365, allocations: 322.8 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.01412, allocations: 108.1 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.01457, allocations: 95.94 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/0.01545, allocations: 192.7 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01545, allocations: 4 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000996/0.01645, allocations: 249.4 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01647, allocations: 7.984 kB / 0.56 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01647, allocations: 3.938 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01649, allocations: 0 / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.01683, allocations: 55.94 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01684, allocations: 0 / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.01708, allocations: 35.95 kB / 0.5601 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01709, allocations: 4 kB / 0.5601 GB, free: 10.71 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.0001149/0.01721, allocations: 117.8 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.01724, allocations: 7.953 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.01729, allocations: 20.38 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.01729, allocations: 3.984 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01729, allocations: 0 / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0173, allocations: 0 / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.01911, allocations: 0.5269 MB / 0.5608 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01911, allocations: 0 / 0.5608 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.01941, allocations: 63.94 kB / 0.5608 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.01941, allocations: 4 kB / 0.5608 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01943, allocations: 0 / 0.5608 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01943, allocations: 4 kB / 0.5608 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01943, allocations: 0 / 0.5608 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.0205, allocations: 344.9 kB / 0.5612 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.02052, allocations: 7.953 kB / 0.5612 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.02054, allocations: 7.984 kB / 0.5612 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.02082, allocations: 31.97 kB / 0.5612 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.02087, allocations: 15.97 kB / 0.5612 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.02089, allocations: 4 kB / 0.5612 GB, free: 9.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.02096, allocations: 91.27 kB / 0.5613 GB, free: 9.402 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02096, allocations: 4 kB / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.02128, allocations: 39.81 kB / 0.5614 GB, free: 9.359 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.00025/0.02153, allocations: 138.3 kB / 0.5615 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009896/0.02251, allocations: 203.8 kB / 0.5617 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02252, allocations: 0 / 0.5617 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.023, allocations: 108 kB / 0.5618 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.02327, allocations: 18.5 kB / 0.5618 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.02497, allocations: 412.3 kB / 0.5622 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.476e-05/0.02506, allocations: 75.33 kB / 0.5623 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02517, allocations: 29.22 kB / 0.5623 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.02525, allocations: 20.48 kB / 0.5623 GB, free: 8.32 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02525, allocations: 0 / 0.5623 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Templates: time 0.005112/0.03036, allocations: 1.783 MB / 0.5641 GB, free: 6.543 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.513266014051624]