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.001177/0.001177, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001403/0.001403, allocations: 165 kB / 23.02 MB, free: 1.547 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 1.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.562 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.001626/0.001626, allocations: 237.7 kB / 260.2 MB, free: 12.82 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.7401/0.7401, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.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.633e-06/1.633e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.958e-05, allocations: 10.31 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002913/0.002943, allocations: 1.491 MB / 0.5566 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004382/0.003381, allocations: 148.4 kB / 0.5567 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.003411, allocations: 4 kB / 0.5567 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.003448, allocations: 7.922 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.0035, allocations: 3.938 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.003907, allocations: 39.89 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.003975, allocations: 23.92 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.004063, allocations: 4 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.004106, allocations: 11.98 kB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.004143, allocations: 4 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004158, allocations: 0 / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.004296, allocations: 51.81 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.004309, allocations: 8 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.004328, allocations: 0 / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004486, allocations: 55.8 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.00449, allocations: 4 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.004491, allocations: 0 / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004497, allocations: 0 / 0.5569 GB, free: 14.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004082/0.004905, allocations: 360.6 kB / 0.5573 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.004949, allocations: 8.75 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.005028, allocations: 4.938 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.005126, allocations: 116.5 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.005141, allocations: 12.31 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.005154, allocations: 384 / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.005293, allocations: 50.95 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.005304, allocations: 192 / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.005315, allocations: 4.375 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.005324, allocations: 384 / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.005358, allocations: 7.938 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.005703, allocations: 243.8 kB / 0.5577 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.005764, allocations: 35 kB / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.005792, allocations: 15.75 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.005923, allocations: 11.98 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.005951, allocations: 33.39 kB / 0.5578 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.005952, allocations: 0 / 0.5578 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000189/0.006141, allocations: 45.62 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.006174, allocations: 55.34 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.006258, allocations: 161.9 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.00627, allocations: 25.7 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.006321, allocations: 126.9 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.006341, allocations: 7.938 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006377, allocations: 23.38 kB / 0.5582 GB, free: 13.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.006511, allocations: 496.2 kB / 0.5587 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.006531, allocations: 4 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.006544, allocations: 4 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.00658, allocations: 15.69 kB / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006582, allocations: 0 / 0.5587 GB, free: 12.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.579e-05/0.006678, allocations: 49.52 kB / 0.5588 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.006693, allocations: 8 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006699, allocations: 3.938 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.006715, allocations: 0 / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.006787, allocations: 8.094 kB / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006792, allocations: 0 / 0.5588 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.006817, allocations: 7.984 kB / 0.5588 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.006823, allocations: 0 / 0.5588 GB, free: 12.52 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 (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.153e-05/0.006894, allocations: 156.6 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.006931, allocations: 4 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.007043, allocations: 48.94 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007046, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.00705, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007053, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.007186, allocations: 116.8 kB / 0.5591 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007187, allocations: 0 / 0.5591 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.007227, allocations: 7.938 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.007231, allocations: 3.984 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007239, allocations: 4 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007242, allocations: 3.938 kB / 0.5591 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007243, allocations: 0 / 0.5591 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007374, allocations: 187.9 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.007382, allocations: 4 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.007393, allocations: 0 / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.007447, allocations: 15.95 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.007485, allocations: 4 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.007489, allocations: 0 / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.007533, allocations: 123.2 kB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007533, allocations: 0 / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.0078, allocations: 11.94 kB / 0.5595 GB, free: 11.77 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 (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.0001885/0.007988, allocations: 115.2 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.008081, allocations: 19.62 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008083, allocations: 4 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.008105, allocations: 11.67 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.008372, allocations: 11.88 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.00868, allocations: 113.4 kB / 0.5597 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.008725, allocations: 51.36 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.008751, allocations: 8.125 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.008781, allocations: 8.5 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008781, allocations: 0 / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Templates: time 0.003116/0.0119, allocations: 0.7033 MB / 0.5605 GB, free: 10.68 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.952821305952966]