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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002442, allocations: 286 kB / 306.6 MB, free: 8.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.156/1.156, allocations: 180.9 MB / 0.53 GB, free: 14.38 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002672/0.002672, allocations: 105.6 kB / 0.7308 GB, free: 38.56 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1584, allocations: 94.2 MB / 0.8228 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002804/0.1612, allocations: 1.455 MB / 0.8243 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.1617, allocations: 160.3 kB / 0.8244 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.1617, allocations: 0 / 0.8244 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.1617, allocations: 7.938 kB / 0.8244 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.1618, allocations: 7.938 kB / 0.8244 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1622, allocations: 31.91 kB / 0.8245 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.1622, allocations: 23.92 kB / 0.8245 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1624, allocations: 7.984 kB / 0.8245 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.1624, allocations: 11.94 kB / 0.8245 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.1625, allocations: 11.98 kB / 0.8245 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1625, allocations: 0 / 0.8245 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1626, allocations: 47.89 kB / 0.8246 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1626, allocations: 4 kB / 0.8246 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1626, allocations: 11.94 kB / 0.8246 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1628, allocations: 51.8 kB / 0.8246 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1628, allocations: 0 / 0.8246 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1628, allocations: 4 kB / 0.8246 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1628, allocations: 0 / 0.8246 GB, free: 15.82 MB / 0.5762 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.0004534/0.1633, allocations: 262.3 kB / 0.8249 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1633, allocations: 12.03 kB / 0.8249 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1633, allocations: 0.9375 kB / 0.8249 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1635, allocations: 114.4 kB / 0.825 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1635, allocations: 8.359 kB / 0.825 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1635, allocations: 384 / 0.825 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1637, allocations: 50.19 kB / 0.8251 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1637, allocations: 192 / 0.8251 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1637, allocations: 3.938 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1637, allocations: 3.984 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1638, allocations: 31.97 kB / 0.8251 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.1642, allocations: 220 kB / 0.8253 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1643, allocations: 38.53 kB / 0.8253 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.1644, allocations: 24.84 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.1645, allocations: 11.92 kB / 0.8254 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1646, allocations: 38.56 kB / 0.8254 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1646, allocations: 0 / 0.8254 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003718/0.1649, allocations: 85.58 kB / 0.8255 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.165, allocations: 51.41 kB / 0.8255 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.1651, allocations: 101.8 kB / 0.8256 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1651, allocations: 25.7 kB / 0.8257 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.1651, allocations: 84.27 kB / 0.8257 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1652, allocations: 15.94 kB / 0.8258 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1652, allocations: 9.719 kB / 0.8258 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1653, allocations: 310.8 kB / 0.8261 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1654, allocations: 27.91 kB / 0.8261 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1655, allocations: 11.98 kB / 0.8261 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1657, allocations: 40.89 kB / 0.8261 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1657, allocations: 0 / 0.8261 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000255/0.1659, allocations: 73.73 kB / 0.8262 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1659, allocations: 8 kB / 0.8262 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.166, allocations: 0 / 0.8262 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.166, allocations: 3.984 kB / 0.8262 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.1661, allocations: 16.02 kB / 0.8262 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1661, allocations: 0 / 0.8262 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.1661, allocations: 4 kB / 0.8262 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1661, allocations: 0 / 0.8262 GB, free: 13.97 MB / 0.5762 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 8.899e-05/0.1662, allocations: 119 kB / 0.8264 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1663, allocations: 4 kB / 0.8264 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1665, allocations: 76.95 kB / 0.8264 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1665, allocations: 0 / 0.8264 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1665, allocations: 0 / 0.8264 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1665, allocations: 4 kB / 0.8264 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1667, allocations: 128.7 kB / 0.8266 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1667, allocations: 7.984 kB / 0.8266 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1668, allocations: 4 kB / 0.8266 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1668, allocations: 0 / 0.8266 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1668, allocations: 0 / 0.8266 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1668, allocations: 0 / 0.8266 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1668, allocations: 7.938 kB / 0.8266 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.167, allocations: 167.4 kB / 0.8267 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.167, allocations: 11.94 kB / 0.8267 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1671, allocations: 0 / 0.8267 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1671, allocations: 4 kB / 0.8268 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1672, allocations: 3.984 kB / 0.8268 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1672, allocations: 4.031 kB / 0.8268 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.1672, allocations: 83.28 kB / 0.8268 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1672, allocations: 0 / 0.8268 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002335/0.1674, allocations: 15.94 kB / 0.8269 GB, free: 13.27 MB / 0.5762 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.0001625/0.1676, allocations: 107.2 kB / 0.827 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1678, allocations: 39.91 kB / 0.827 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1678, allocations: 4 kB / 0.827 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.1679, allocations: 19.97 kB / 0.827 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1682, allocations: 7.938 kB / 0.827 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1684, allocations: 93.69 kB / 0.8271 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1689, allocations: 0.673 MB / 0.8278 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.1689, allocations: 7.984 kB / 0.8278 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1689, allocations: 7.438 kB / 0.8278 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1689, allocations: 0 / 0.8278 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.003203/0.1721, allocations: 0.6607 MB / 0.8284 GB, free: 11.59 MB / 0.5762 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.615958203561604] Failed to read output from testmodel.py, exit status != 0: 0.17926683835685253 0.19538955200000002 0.029370848 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f54c47957b0>