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) 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 106.5 kB / 16.41 MB, free: 6.5 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.001911/0.001911, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 293.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 95.83 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4553, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002535/0.4578, allocations: 1.426 MB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.4583, allocations: 172.3 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.4583, allocations: 0 / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.4583, allocations: 0 / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.4584, allocations: 7.922 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.4587, allocations: 39.89 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.4587, allocations: 19.94 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.4588, allocations: 7.984 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.4588, allocations: 4 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.4589, allocations: 19.86 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.4589, allocations: 0 / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.459, allocations: 43.89 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.459, allocations: 4 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.4591, allocations: 11.94 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.4592, allocations: 47.66 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4592, allocations: 4 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4592, allocations: 4 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4592, allocations: 0 / 0.7688 GB, free: 2.113 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004847/0.4597, allocations: 341.2 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4597, allocations: 12.03 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4598, allocations: 0.9375 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4599, allocations: 164.3 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.4599, allocations: 4.375 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.4599, allocations: 384 / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.4601, allocations: 58.17 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4601, allocations: 192 / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4601, allocations: 3.938 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4601, allocations: 0 / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.4603, allocations: 35.95 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.4606, allocations: 240.9 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.4608, allocations: 46.53 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.4609, allocations: 24.84 kB / 0.7697 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.461, allocations: 85.09 kB / 0.7698 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4611, allocations: 34.56 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4611, allocations: 0 / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003819/0.4615, allocations: 85.64 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4615, allocations: 51.41 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.4616, allocations: 101.8 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4616, allocations: 29.7 kB / 0.7701 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.4616, allocations: 80.14 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4617, allocations: 7.891 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.4617, allocations: 17.84 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4618, allocations: 318.8 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.4619, allocations: 15.97 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.462, allocations: 19.98 kB / 0.7705 GB, free: 144 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.4622, allocations: 32.83 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4622, allocations: 4.062 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002196/0.4624, allocations: 69.59 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4624, allocations: 4 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4624, allocations: 0 / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4624, allocations: 4 kB / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.4625, allocations: 11.92 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4625, allocations: 3.938 kB / 0.7706 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.4626, allocations: 12.02 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4626, allocations: 3.938 kB / 0.7707 GB, free: 15.99 MB / 0.545 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.42e-05/0.4627, allocations: 121.5 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.4627, allocations: 3.953 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.4629, allocations: 64.78 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4629, allocations: 4 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4629, allocations: 0 / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.463, allocations: 4.031 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.4631, allocations: 161.6 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4631, allocations: 192 / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.4632, allocations: 8 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4632, allocations: 0 / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4632, allocations: 7.984 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4632, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4632, allocations: 7.922 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4635, allocations: 159.5 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.4635, allocations: 81.09 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4635, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.4636, allocations: 4 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.4637, allocations: 11.98 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4637, allocations: 0 / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.4637, allocations: 79.28 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4637, allocations: 4.031 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.4639, allocations: 11.94 kB / 0.7714 GB, free: 15.18 MB / 0.545 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.0001799/0.4641, allocations: 111.2 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.4644, allocations: 35.91 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4644, allocations: 8.062 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.4644, allocations: 19.97 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.4647, allocations: 7.938 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.465, allocations: 101.6 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4653, allocations: 0.6729 MB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.4653, allocations: 7.984 kB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.4653, allocations: 15.5 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4653, allocations: 0 / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Templates: time 0.00309/0.4684, allocations: 0.6503 MB / 0.7729 GB, free: 13.48 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)