Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.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.0007959/0.0007959, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000758/0.000758, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8525/0.8525, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001394/0.001394, allocations: 239 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.6679/0.6679, allocations: 138.4 MB / 455.1 MB, free: 30.01 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.919e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.2683/0.2683, allocations: 1.451 MB / 0.6489 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.2687, allocations: 154.5 kB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.2688, allocations: 0 / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.2688, allocations: 0.5 kB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.2688, allocations: 1.625 kB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2692, allocations: 42.69 kB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.2693, allocations: 23.2 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.2693, allocations: 6.094 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.2694, allocations: 14.75 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.2694, allocations: 6.438 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2694, allocations: 3.438 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2696, allocations: 39.7 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.2696, allocations: 9.688 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.2696, allocations: 4.969 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2697, allocations: 55.17 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2697, allocations: 0 / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2697, allocations: 0.5312 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2697, allocations: 0.8125 kB / 0.6493 GB, free: 56.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003187/0.2701, allocations: 268.6 kB / 0.6496 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2701, allocations: 12.36 kB / 0.6496 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.2702, allocations: 5.438 kB / 0.6496 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.763e-05/0.2702, allocations: 105.2 kB / 0.6497 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2702, allocations: 1.969 kB / 0.6497 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2702, allocations: 2.594 kB / 0.6497 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2704, allocations: 52.48 kB / 0.6497 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2704, allocations: 1.094 kB / 0.6497 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2704, allocations: 1.953 kB / 0.6497 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2704, allocations: 2.406 kB / 0.6497 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.2705, allocations: 36.78 kB / 0.6498 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.2707, allocations: 196.3 kB / 0.65 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.2708, allocations: 40.42 kB / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.2709, allocations: 27.95 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.271, allocations: 8.438 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.271, allocations: 33.06 kB / 0.6501 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.271, allocations: 0 / 0.6501 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002464/0.2712, allocations: 87.5 kB / 0.6501 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2713, allocations: 52.72 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/0.2713, allocations: 100.8 kB / 0.6503 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.2713, allocations: 25.7 kB / 0.6503 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.2713, allocations: 88.72 kB / 0.6504 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2714, allocations: 13.58 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2714, allocations: 13.19 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.028e-05/0.2714, allocations: 315.4 kB / 0.6507 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.2715, allocations: 16.09 kB / 0.6507 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.2715, allocations: 18.02 kB / 0.6508 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.2716, allocations: 40.92 kB / 0.6508 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2716, allocations: 0 / 0.6508 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.2717, allocations: 65.25 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2717, allocations: 9.297 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2717, allocations: 3.938 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2717, allocations: 0.75 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.2718, allocations: 17.59 kB / 0.6509 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2718, allocations: 0 / 0.6509 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.2718, allocations: 6.859 kB / 0.6509 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2718, allocations: 1.703 kB / 0.6509 GB, free: 55.01 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 (2): * Single equations (assignments): 2 * 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 3.786e-05/0.2719, allocations: 109.9 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.2719, allocations: 2.797 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.272, allocations: 74.5 kB / 0.6511 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.272, allocations: 6 kB / 0.6511 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.272, allocations: 0 / 0.6511 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.272, allocations: 3.938 kB / 0.6511 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.156e-05/0.2721, allocations: 102.9 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2721, allocations: 2.812 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.2721, allocations: 8.922 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2722, allocations: 3.406 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2722, allocations: 3.984 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2722, allocations: 3.938 kB / 0.6512 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2722, allocations: 1.484 kB / 0.6512 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2723, allocations: 165.1 kB / 0.6514 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.2723, allocations: 2.422 kB / 0.6514 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2723, allocations: 3.453 kB / 0.6514 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.2724, allocations: 10.52 kB / 0.6514 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.2724, allocations: 3.188 kB / 0.6514 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2724, allocations: 0.875 kB / 0.6514 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.804e-05/0.2724, allocations: 83.75 kB / 0.6515 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2724, allocations: 0 / 0.6515 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001725/0.2726, allocations: 14.92 kB / 0.6515 GB, free: 54.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001528/0.2727, allocations: 109.5 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2729, allocations: 39.58 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2729, allocations: 2.719 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.2729, allocations: 16.22 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.2731, allocations: 9.094 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.2734, allocations: 131.8 kB / 0.6518 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.2734, allocations: 65.59 kB / 0.6518 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2734, allocations: 11.69 kB / 0.6518 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.2734, allocations: 0 / 0.6518 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of Templates: time 0.002032/0.2755, allocations: 0.7809 MB / 0.6526 GB, free: 54.18 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.423349759541452] Failed to read output from testmodel.py, exit status != 0: 0.2807466760277748 0.28870073899999993 0.017358614 Calling exit ...