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.000759/0.000759, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007816/0.0007816, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8683/0.8683, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.001442/0.001442, allocations: 225.9 kB / 260.2 MB, free: 13.02 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.6567/0.6567, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.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.743e-06/1.743e-06, allocations: 0 / 0.6476 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.964e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00115/0.00118, allocations: 0.6315 MB / 0.6482 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2611/0.2623, allocations: 1.428 MB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.2623, allocations: 0 / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.2624, allocations: 3.938 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.2624, allocations: 6.438 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2628, allocations: 127.8 kB / 0.6497 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.2629, allocations: 23.66 kB / 0.6498 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.2629, allocations: 3.969 kB / 0.6498 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.263, allocations: 20.34 kB / 0.6498 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.263, allocations: 16.56 kB / 0.6498 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2631, allocations: 3 kB / 0.6498 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.2634, allocations: 251.7 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2634, allocations: 10.64 kB / 0.6501 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.2634, allocations: 6.75 kB / 0.6501 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2637, allocations: 200 kB / 0.6502 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2637, allocations: 4.812 kB / 0.6503 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2637, allocations: 1.219 kB / 0.6503 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2637, allocations: 0 / 0.6503 GB, free: 56.13 MB / 0.5573 GB 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.000396/0.2641, allocations: 299.5 kB / 0.6505 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2641, allocations: 12.19 kB / 0.6506 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.2644, allocations: 62.19 kB / 0.6506 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.2645, allocations: 116.7 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2645, allocations: 1.719 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2645, allocations: 4.578 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2647, allocations: 73.56 kB / 0.6508 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2647, allocations: 4.141 kB / 0.6508 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2647, allocations: 3.312 kB / 0.6508 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2647, allocations: 4.625 kB / 0.6508 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.2649, allocations: 75.45 kB / 0.6509 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.265, allocations: 114.3 kB / 0.651 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2653, allocations: 123.1 kB / 0.6511 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.2654, allocations: 42.03 kB / 0.6511 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2654, allocations: 1.75 kB / 0.6511 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2655, allocations: 34.06 kB / 0.6512 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.2655, allocations: 0.6562 kB / 0.6512 GB, free: 55.48 MB / 0.5573 GB 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.002082/0.2675, allocations: 0.7947 MB / 0.652 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2676, allocations: 54.03 kB / 0.652 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.2676, allocations: 109.5 kB / 0.6521 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2676, allocations: 30.89 kB / 0.6521 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.2677, allocations: 83.12 kB / 0.6522 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.2677, allocations: 28.55 kB / 0.6523 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2677, allocations: 27.23 kB / 0.6523 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.2678, allocations: 322.4 kB / 0.6526 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.268, allocations: 95.36 kB / 0.6527 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2682, allocations: 106.7 kB / 0.6528 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2686, allocations: 189.7 kB / 0.653 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2686, allocations: 4 kB / 0.653 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004593/0.2691, allocations: 241 kB / 0.6532 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2691, allocations: 5.812 kB / 0.6532 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2691, allocations: 5.781 kB / 0.6532 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2691, allocations: 3.328 kB / 0.6532 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.2693, allocations: 55.17 kB / 0.6533 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2693, allocations: 0 / 0.6533 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2694, allocations: 40.5 kB / 0.6533 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2694, allocations: 5.5 kB / 0.6533 GB, free: 54.69 MB / 0.5573 GB 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 4.921e-05/0.2694, allocations: 117.2 kB / 0.6534 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.2694, allocations: 7.672 kB / 0.6534 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.2695, allocations: 17.8 kB / 0.6534 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2695, allocations: 1.469 kB / 0.6534 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2695, allocations: 0 / 0.6534 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2695, allocations: 0.9844 kB / 0.6534 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.2704, allocations: 0.5382 MB / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2704, allocations: 0 / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2705, allocations: 55.52 kB / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2705, allocations: 1.156 kB / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2705, allocations: 5.844 kB / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2705, allocations: 5.203 kB / 0.654 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2705, allocations: 1.812 kB / 0.654 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.271, allocations: 343.9 kB / 0.6544 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.271, allocations: 6.656 kB / 0.6544 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.271, allocations: 2.969 kB / 0.6544 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2711, allocations: 34.41 kB / 0.6544 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2711, allocations: 16.77 kB / 0.6544 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2712, allocations: 4.875 kB / 0.6544 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.2712, allocations: 94.27 kB / 0.6545 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2712, allocations: 0 / 0.6545 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001888/0.2714, allocations: 37.73 kB / 0.6545 GB, free: 54.02 MB / 0.5573 GB 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.0001695/0.2715, allocations: 127.6 kB / 0.6547 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.272, allocations: 213.5 kB / 0.6549 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.272, allocations: 0 / 0.6549 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.2722, allocations: 108.7 kB / 0.655 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.2724, allocations: 15.06 kB / 0.655 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.2732, allocations: 430 kB / 0.6554 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.2733, allocations: 69.27 kB / 0.6555 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2733, allocations: 30.16 kB / 0.6555 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.2733, allocations: 0 / 0.6555 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of Templates: time 0.002739/0.2761, allocations: 1.457 MB / 0.6569 GB, free: 53.55 MB / 0.5573 GB " [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.277817728929222] Failed to read output from testmodel.py, exit status != 0: 0.2826780043542385 0.29029125 0.025091451 Calling exit ...