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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 107.7 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 185.6 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 294.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.9121, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 91.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4542, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001743/0.456, allocations: 0.5747 MB / 0.7677 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003703/0.4564, allocations: 95.64 kB / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.4564, allocations: 4 kB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.4564, allocations: 0 / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-06/0.4564, allocations: 0 / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4568, allocations: 39.83 kB / 0.7678 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.4568, allocations: 4 kB / 0.7678 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.4569, allocations: 0 / 0.7678 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.4569, allocations: 3.938 kB / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.4569, allocations: 0 / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.457, allocations: 0 / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4571, allocations: 39.95 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.4571, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.4571, allocations: 7.938 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.4573, allocations: 35.89 kB / 0.7679 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4573, allocations: 0 / 0.7679 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4573, allocations: 0 / 0.7679 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4573, allocations: 0 / 0.7679 GB, free: 3.148 MB / 0.5294 GB 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.000283/0.4576, allocations: 315.6 kB / 0.7682 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4576, allocations: 8.031 kB / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.4577, allocations: 4.938 kB / 0.7682 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.4578, allocations: 164.4 kB / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4578, allocations: 4.375 kB / 0.7683 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.4578, allocations: 384 / 0.7683 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.4579, allocations: 30.25 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4579, allocations: 192 / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4579, allocations: 7.938 kB / 0.7684 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4579, allocations: 3.938 kB / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.4579, allocations: 3.938 kB / 0.7684 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.4581, allocations: 141.7 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.4581, allocations: 26.61 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.4581, allocations: 4.859 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.4583, allocations: 85.16 kB / 0.7686 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4584, allocations: 34.56 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4584, allocations: 0 / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.4585, allocations: 41.56 kB / 0.7687 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.4586, allocations: 59.41 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.127e-05/0.4586, allocations: 93.98 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4586, allocations: 25.7 kB / 0.7689 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.4587, allocations: 80.14 kB / 0.769 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4587, allocations: 3.906 kB / 0.769 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.4587, allocations: 9.719 kB / 0.769 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.4588, allocations: 314.8 kB / 0.7693 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.4588, allocations: 0 / 0.7693 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.4588, allocations: 3.984 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.4589, allocations: 16.92 kB / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4589, allocations: 0 / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.715e-05/0.459, allocations: 33.64 kB / 0.7693 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.459, allocations: 4 kB / 0.7693 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.459, allocations: 4 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.459, allocations: 3.938 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.4591, allocations: 0 / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4591, allocations: 0 / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.4591, allocations: 0 / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4591, allocations: 8.031 kB / 0.7693 GB, free: 1.398 MB / 0.5294 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 (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.596e-05/0.4592, allocations: 123.8 kB / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.4592, allocations: 0 / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.4593, allocations: 44.7 kB / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4593, allocations: 0 / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4593, allocations: 0 / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4593, allocations: 0 / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.4594, allocations: 149.7 kB / 0.7696 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4594, allocations: 0 / 0.7696 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.4594, allocations: 7.969 kB / 0.7697 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4594, allocations: 0 / 0.7697 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4594, allocations: 3.938 kB / 0.7697 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4594, allocations: 4 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4594, allocations: 0 / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.4595, allocations: 57.12 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.4596, allocations: 81.09 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4596, allocations: 3.938 kB / 0.7698 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-06/0.4596, allocations: 8.031 kB / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.4596, allocations: 3.938 kB / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4596, allocations: 0 / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.191e-05/0.4596, allocations: 75.28 kB / 0.7699 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4596, allocations: 0 / 0.7699 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001898/0.4598, allocations: 8 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 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 (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.0001781/0.46, allocations: 115.2 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.589e-05/0.4601, allocations: 4 kB / 0.77 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4601, allocations: 0 / 0.77 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/0.4601, allocations: 8 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4602, allocations: 0.5625 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.4604, allocations: 102.8 kB / 0.7701 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.4606, allocations: 0.669 MB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.4607, allocations: 11.56 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4607, allocations: 3.938 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Templates: time 0.001821/0.4625, allocations: 0.5547 MB / 0.7713 GB, free: 15.21 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)