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.001188/0.001188, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00128/0.00128, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9948/0.9948, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001694/0.001694, allocations: 237.5 kB / 261.3 MB, free: 12.67 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.7486/0.7486, allocations: 138.4 MB / 456.3 MB, free: 30.06 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.663e-06/1.663e-06, allocations: 0 / 0.5564 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.349e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001663/0.001686, allocations: 0.6416 MB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.003655, allocations: 1.462 MB / 0.5585 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.003691, allocations: 0 / 0.5585 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.003711, allocations: 3.938 kB / 0.5585 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.003793, allocations: 11.86 kB / 0.5585 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.004225, allocations: 123.5 kB / 0.5586 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.004291, allocations: 27.92 kB / 0.5586 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.004336, allocations: 11.92 kB / 0.5586 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.004391, allocations: 15.98 kB / 0.5587 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.004453, allocations: 19.91 kB / 0.5587 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004468, allocations: 0 / 0.5587 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.004854, allocations: 247.5 kB / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.004873, allocations: 4 kB / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.004893, allocations: 15.91 kB / 0.5589 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.005175, allocations: 195.5 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005177, allocations: 4 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005177, allocations: 0 / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005181, allocations: 0 / 0.5591 GB, free: 13.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.0004203/0.005602, allocations: 404.1 kB / 0.5595 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005642, allocations: 13.92 kB / 0.5595 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.00588, allocations: 48.84 kB / 0.5596 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.005985, allocations: 124.4 kB / 0.5597 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.006001, allocations: 4.375 kB / 0.5597 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.006017, allocations: 4.375 kB / 0.5597 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.00617, allocations: 66.92 kB / 0.5598 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.00618, allocations: 192 / 0.5598 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.006189, allocations: 4.375 kB / 0.5598 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006195, allocations: 3.938 kB / 0.5598 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.006243, allocations: 27.97 kB / 0.5598 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.006378, allocations: 105.2 kB / 0.5599 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.87e-05/0.006477, allocations: 59.03 kB / 0.5599 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.006512, allocations: 23.8 kB / 0.56 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.006524, allocations: 0 / 0.56 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.006547, allocations: 33.39 kB / 0.56 GB, free: 11.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.006548, allocations: 0 / 0.56 GB, free: 11.99 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.001422/0.00797, allocations: 376.4 kB / 0.5604 GB, free: 11.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.008003, allocations: 55.41 kB / 0.5604 GB, free: 11.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.008088, allocations: 169.9 kB / 0.5606 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.008108, allocations: 33.69 kB / 0.5606 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.008152, allocations: 134.8 kB / 0.5607 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.008199, allocations: 27.75 kB / 0.5608 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.008259, allocations: 35.34 kB / 0.5608 GB, free: 11.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.008402, allocations: 0.4884 MB / 0.5613 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.008453, allocations: 15.98 kB / 0.5613 GB, free: 10.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/0.008499, allocations: 19.98 kB / 0.5613 GB, free: 10.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.008589, allocations: 47.61 kB / 0.5613 GB, free: 10.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.00859, allocations: 0 / 0.5613 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001765/0.008767, allocations: 93.56 kB / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.00878, allocations: 6.812 kB / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.008786, allocations: 320 / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.008796, allocations: 7.938 kB / 0.5615 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.008969, allocations: 39.95 kB / 0.5615 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.008973, allocations: 4 kB / 0.5615 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.009068, allocations: 19.97 kB / 0.5615 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.009083, allocations: 11.98 kB / 0.5615 GB, free: 10.36 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 7.884e-05/0.009162, allocations: 156.5 kB / 0.5617 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.009191, allocations: 15.89 kB / 0.5617 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.009226, allocations: 12.44 kB / 0.5617 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.009229, allocations: 7.938 kB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009231, allocations: 0.75 kB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.009235, allocations: 3.984 kB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.00983, allocations: 397.3 kB / 0.5621 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009832, allocations: 0 / 0.5621 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.009961, allocations: 39.95 kB / 0.5621 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.009967, allocations: 7.938 kB / 0.5621 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.009977, allocations: 4 kB / 0.5621 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.009981, allocations: 7.922 kB / 0.5621 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009982, allocations: 4 kB / 0.5622 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01019, allocations: 251.6 kB / 0.5624 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01021, allocations: 15.88 kB / 0.5624 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01022, allocations: 4 kB / 0.5624 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.01074, allocations: 19.97 kB / 0.5624 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.01077, allocations: 7.984 kB / 0.5624 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01078, allocations: 4 kB / 0.5624 GB, free: 9.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.01083, allocations: 139.2 kB / 0.5626 GB, free: 9.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01083, allocations: 0 / 0.5626 GB, free: 9.203 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.01115, allocations: 39.86 kB / 0.5626 GB, free: 9.164 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.0001597/0.01131, allocations: 131.1 kB / 0.5627 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01147, allocations: 63.62 kB / 0.5628 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01147, allocations: 0 / 0.5628 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.01153, allocations: 43.72 kB / 0.5628 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.0002581/0.01179, allocations: 19.94 kB / 0.5629 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.01237, allocations: 275.3 kB / 0.5631 GB, free: 8.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01241, allocations: 63.3 kB / 0.5632 GB, free: 8.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.01249, allocations: 28.66 kB / 0.5632 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01259, allocations: 78.19 kB / 0.5633 GB, free: 8.402 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0126, allocations: 4 kB / 0.5633 GB, free: 8.398 MB / 490.7 MB Notification: Performance of Templates: time 0.004095/0.01669, allocations: 1.991 MB / 0.5652 GB, free: 6.438 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.653120162896812]