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.00108/0.00108, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00121/0.00121, allocations: 187 kB / 17.34 MB, free: 5.742 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 292 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 0.898/0.898, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 100.3 kB / 0.6821 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4768, allocations: 86.96 MB / 0.767 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00229/0.4791, allocations: 1.424 MB / 0.7684 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.4795, allocations: 168.5 kB / 0.7686 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.4796, allocations: 0 / 0.7686 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.4796, allocations: 1.156 kB / 0.7686 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.4797, allocations: 7.922 kB / 0.7686 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.48, allocations: 33.81 kB / 0.7686 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.48, allocations: 20.8 kB / 0.7687 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4801, allocations: 15.77 kB / 0.7687 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.4802, allocations: 6.594 kB / 0.7687 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.4802, allocations: 18.5 kB / 0.7687 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4802, allocations: 2.656 kB / 0.7687 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4804, allocations: 37.91 kB / 0.7687 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.4804, allocations: 1.281 kB / 0.7687 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.4804, allocations: 9.25 kB / 0.7687 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.4805, allocations: 52.23 kB / 0.7688 GB, free: 9.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4805, allocations: 0 / 0.7688 GB, free: 9.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4806, allocations: 0 / 0.7688 GB, free: 9.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4806, allocations: 5.406 kB / 0.7688 GB, free: 9.23 MB / 0.545 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.0003651/0.4809, allocations: 345.4 kB / 0.7691 GB, free: 8.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.481, allocations: 9.625 kB / 0.7691 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.481, allocations: 2.188 kB / 0.7691 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.4811, allocations: 161.7 kB / 0.7693 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4811, allocations: 1.75 kB / 0.7693 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.4811, allocations: 4.375 kB / 0.7693 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4813, allocations: 53.89 kB / 0.7694 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.4813, allocations: 192 / 0.7694 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4813, allocations: 9.188 kB / 0.7694 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4814, allocations: 0 / 0.7694 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4815, allocations: 39.16 kB / 0.7694 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.4818, allocations: 240 kB / 0.7696 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4819, allocations: 47.25 kB / 0.7697 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.482, allocations: 18.72 kB / 0.7697 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.4821, allocations: 93 kB / 0.7698 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4822, allocations: 32.94 kB / 0.7698 GB, free: 8.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4822, allocations: 0 / 0.7698 GB, free: 8.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003444/0.4825, allocations: 83.48 kB / 0.7699 GB, free: 8.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.4825, allocations: 51.41 kB / 0.7699 GB, free: 7.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.198e-05/0.4826, allocations: 102.8 kB / 0.77 GB, free: 7.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4826, allocations: 27.05 kB / 0.7701 GB, free: 7.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.4826, allocations: 89.27 kB / 0.7701 GB, free: 7.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.4827, allocations: 6.438 kB / 0.7702 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4827, allocations: 12.38 kB / 0.7702 GB, free: 7.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.4827, allocations: 316.2 kB / 0.7705 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.4828, allocations: 21.31 kB / 0.7705 GB, free: 7.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.4829, allocations: 21.77 kB / 0.7705 GB, free: 7.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.483, allocations: 38.8 kB / 0.7705 GB, free: 7.379 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4831, allocations: 64 / 0.7705 GB, free: 7.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.4832, allocations: 73.09 kB / 0.7706 GB, free: 7.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4833, allocations: 4.312 kB / 0.7706 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4833, allocations: 1.406 kB / 0.7706 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4833, allocations: 3.938 kB / 0.7706 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.4834, allocations: 10.11 kB / 0.7706 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4834, allocations: 0 / 0.7706 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.4834, allocations: 5.281 kB / 0.7706 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.4834, allocations: 4.031 kB / 0.7706 GB, free: 7.312 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 4.917e-05/0.4835, allocations: 121.2 kB / 0.7708 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.4835, allocations: 1.312 kB / 0.7708 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.4837, allocations: 70.88 kB / 0.7708 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4837, allocations: 0 / 0.7708 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4838, allocations: 2.031 kB / 0.7708 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4838, allocations: 0 / 0.7708 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.4839, allocations: 166 kB / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4839, allocations: 0 / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.4839, allocations: 5.719 kB / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.484, allocations: 0 / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.484, allocations: 1.125 kB / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.484, allocations: 0 / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.484, allocations: 1.406 kB / 0.771 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.4842, allocations: 175 kB / 0.7712 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.4842, allocations: 81.09 kB / 0.7712 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.4842, allocations: 1.656 kB / 0.7712 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.4843, allocations: 3.5 kB / 0.7712 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.4843, allocations: 5.609 kB / 0.7712 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.4843, allocations: 0 / 0.7712 GB, free: 6.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.4844, allocations: 82.22 kB / 0.7713 GB, free: 6.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4844, allocations: 3.938 kB / 0.7713 GB, free: 6.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002336/0.4846, allocations: 14.72 kB / 0.7713 GB, free: 6.578 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.0001504/0.4848, allocations: 115.4 kB / 0.7715 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.485, allocations: 37.66 kB / 0.7715 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.485, allocations: 64 / 0.7715 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.4851, allocations: 27.44 kB / 0.7715 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4853, allocations: 10.33 kB / 0.7715 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.4856, allocations: 127.3 kB / 0.7716 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.4857, allocations: 0.6731 MB / 0.7723 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.4857, allocations: 8.531 kB / 0.7723 GB, free: 5.594 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4857, allocations: 0 / 0.7723 GB, free: 5.594 MB / 0.545 GB Notification: Performance of Templates: time 0.001906/0.4876, allocations: 0.775 MB / 0.7731 GB, free: 5.211 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)