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.001779/0.001779, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002291/0.002291, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002597/0.002597, allocations: 241.2 kB / 259.4 MB, free: 484 kB / 238.1 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 1.062/1.062, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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.543e-06/1.543e-06, allocations: 0 / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.618e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002591/0.002617, allocations: 1.453 MB / 0.6482 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.003041, allocations: 156.3 kB / 0.6484 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.003063, allocations: 0 / 0.6484 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.003088, allocations: 0 / 0.6484 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.003125, allocations: 7.938 kB / 0.6484 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.003433, allocations: 39.89 kB / 0.6484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.003492, allocations: 27.86 kB / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.003555, allocations: 0 / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.003597, allocations: 15.92 kB / 0.6485 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.276e-05/0.00363, allocations: 15.92 kB / 0.6485 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.003645, allocations: 4 kB / 0.6485 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.003768, allocations: 35.95 kB / 0.6485 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.003781, allocations: 3.984 kB / 0.6485 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.0038, allocations: 8 kB / 0.6485 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.003939, allocations: 55.8 kB / 0.6486 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003941, allocations: 0 / 0.6486 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003941, allocations: 3.938 kB / 0.6486 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.003947, allocations: 4 kB / 0.6486 GB, free: 3.203 MB / 0.5606 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.0004058/0.004353, allocations: 258.3 kB / 0.6488 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.004387, allocations: 13.34 kB / 0.6488 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.004434, allocations: 4.891 kB / 0.6488 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.004538, allocations: 113.7 kB / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004549, allocations: 384 / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004557, allocations: 384 / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.004726, allocations: 54.23 kB / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.004733, allocations: 192 / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.004741, allocations: 384 / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.004745, allocations: 384 / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.004924, allocations: 39.89 kB / 0.649 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.005209, allocations: 192.5 kB / 0.6492 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005346, allocations: 38.59 kB / 0.6493 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.005439, allocations: 20.91 kB / 0.6493 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.005571, allocations: 11.98 kB / 0.6493 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.005603, allocations: 34.56 kB / 0.6493 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005604, allocations: 0 / 0.6493 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.005988, allocations: 89.47 kB / 0.6494 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.006032, allocations: 51.41 kB / 0.6495 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.006111, allocations: 106 kB / 0.6496 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.006129, allocations: 25.7 kB / 0.6496 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.006176, allocations: 84.14 kB / 0.6497 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.006194, allocations: 11.89 kB / 0.6497 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.006227, allocations: 13.72 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.006362, allocations: 310.8 kB / 0.65 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.006457, allocations: 19.97 kB / 0.65 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.006537, allocations: 15.98 kB / 0.65 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.006705, allocations: 36.89 kB / 0.6501 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.006706, allocations: 0 / 0.6501 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002356/0.006942, allocations: 73.59 kB / 0.6501 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.006957, allocations: 6.656 kB / 0.6501 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.006963, allocations: 3.938 kB / 0.6501 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006975, allocations: 7.938 kB / 0.6502 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.007058, allocations: 12.02 kB / 0.6502 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.007062, allocations: 0 / 0.6502 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.007111, allocations: 4 kB / 0.6502 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007119, allocations: 3.984 kB / 0.6502 GB, free: 1.406 MB / 0.5606 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 7.991e-05/0.007199, allocations: 109.8 kB / 0.6503 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.007237, allocations: 0 / 0.6503 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.007487, allocations: 80.84 kB / 0.6504 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00749, allocations: 0 / 0.6504 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.007493, allocations: 4.031 kB / 0.6504 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007495, allocations: 0 / 0.6504 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.007633, allocations: 105.5 kB / 0.6505 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007635, allocations: 0 / 0.6505 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.007699, allocations: 15.98 kB / 0.6505 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.007703, allocations: 3.984 kB / 0.6505 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.007709, allocations: 0 / 0.6505 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.007714, allocations: 3.938 kB / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007715, allocations: 0 / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.007991, allocations: 163.5 kB / 0.6506 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007999, allocations: 4 kB / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.00801, allocations: 0 / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.008099, allocations: 15.92 kB / 0.6507 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.008132, allocations: 3.938 kB / 0.6507 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.008135, allocations: 0 / 0.6507 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.008177, allocations: 79.28 kB / 0.6507 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008178, allocations: 0 / 0.6507 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002463/0.008424, allocations: 19.88 kB / 0.6508 GB, free: 0.7461 MB / 0.5606 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.0001765/0.0086, allocations: 107.3 kB / 0.6509 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.00882, allocations: 43.95 kB / 0.6509 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008822, allocations: 0 / 0.6509 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.008918, allocations: 15.98 kB / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.009172, allocations: 4.125 kB / 0.6509 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.00944, allocations: 116.7 kB / 0.651 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.009497, allocations: 63.34 kB / 0.6511 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.009517, allocations: 0 / 0.6511 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.009542, allocations: 12.5 kB / 0.6511 GB, free: 336 kB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.009542, allocations: 0 / 0.6511 GB, free: 336 kB / 0.5606 GB Notification: Performance of Templates: time 0.2309/0.2404, allocations: 0.6748 MB / 0.6518 GB, free: 56.75 MB / 0.5606 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.822645287960768] Failed to read output from testmodel.py, exit status != 0: 0.24777444079518318 0.25644916700000003 0.250364684 Calling exit ...