Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001031/0.001031, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001253/0.001253, allocations: 173 kB / 23.49 MB, free: 1.059 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.9585/0.9585, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.002554/0.002554, allocations: 238 kB / 260.5 MB, free: 12.88 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.7563/0.7563, allocations: 138.4 MB / 455.4 MB, free: 1.48 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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 7.938 kB / 0.5551 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.422e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001587/0.001612, allocations: 0.5924 MB / 0.5557 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002889/0.0019, allocations: 99.55 kB / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.001918, allocations: 0 / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.001933, allocations: 0 / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.001939, allocations: 0 / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.002286, allocations: 31.89 kB / 0.5558 GB, free: 24 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.002327, allocations: 8 kB / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.002367, allocations: 0 / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.002388, allocations: 0 / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.392e-05/0.002402, allocations: 0 / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.002414, allocations: 4 kB / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.002557, allocations: 39.88 kB / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.002565, allocations: 0 / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.002579, allocations: 4 kB / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.002686, allocations: 35.84 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002688, allocations: 0 / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.002689, allocations: 0 / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.002692, allocations: 0 / 0.5559 GB, free: 15.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002455/0.002938, allocations: 340.4 kB / 0.5562 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.002976, allocations: 12.75 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.003049, allocations: 0.9375 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.545e-05/0.003115, allocations: 112.6 kB / 0.5563 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.003125, allocations: 384 / 0.5563 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003133, allocations: 4.375 kB / 0.5563 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/0.00321, allocations: 30.27 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003216, allocations: 192 / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.003223, allocations: 384 / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.003231, allocations: 384 / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.003247, allocations: 7.938 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.003357, allocations: 116.6 kB / 0.5565 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.003396, allocations: 31.03 kB / 0.5565 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.003412, allocations: 11.69 kB / 0.5565 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.003561, allocations: 12.05 kB / 0.5565 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.003583, allocations: 33.39 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.003584, allocations: 0 / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.003715, allocations: 29.7 kB / 0.5566 GB, free: 15.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.003746, allocations: 55.41 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.003786, allocations: 146.2 kB / 0.5568 GB, free: 14.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.003796, allocations: 25.7 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.003828, allocations: 126.9 kB / 0.5569 GB, free: 14.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.003854, allocations: 4.422 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.003886, allocations: 31.36 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.004004, allocations: 496.1 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.004014, allocations: 0 / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.00402, allocations: 0 / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.004054, allocations: 15.62 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004055, allocations: 0 / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.176e-05/0.004117, allocations: 29.7 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.004132, allocations: 8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004136, allocations: 0 / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.004148, allocations: 8.031 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.004184, allocations: 3.984 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004188, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.0042, allocations: 11.94 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.004205, allocations: 0 / 0.5575 GB, free: 14.06 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 (1): * Single equations (assignments): 1 * 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 6.295e-05/0.004268, allocations: 152.6 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.004284, allocations: 0 / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.004347, allocations: 36.69 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004348, allocations: 4 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.004352, allocations: 0 / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.004355, allocations: 4.031 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.119e-05/0.004416, allocations: 112.6 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004417, allocations: 0 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.004426, allocations: 4 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.004428, allocations: 0 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004434, allocations: 0 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004434, allocations: 0 / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004435, allocations: 3.938 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.176e-05/0.004507, allocations: 72.38 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-06/0.00451, allocations: 0 / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.00452, allocations: 4.031 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-06/0.004525, allocations: 0 / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.004538, allocations: 4 kB / 0.5579 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.004542, allocations: 4 kB / 0.5579 GB, free: 13.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.004572, allocations: 119.2 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004572, allocations: 0 / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.004764, allocations: 15.92 kB / 0.558 GB, free: 13.46 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001502/0.004914, allocations: 115.2 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.446e-05/0.004978, allocations: 15.62 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00498, allocations: 3.938 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.368e-06/0.004989, allocations: 11.67 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.005114, allocations: 3.938 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.005282, allocations: 91.69 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.005311, allocations: 51.36 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.898e-06/0.005321, allocations: 4 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.005335, allocations: 8.5 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005335, allocations: 4.125 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of Templates: time 0.002211/0.007546, allocations: 428.3 kB / 0.5587 GB, free: 12.69 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5590699589811265]