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.001319/0.001319, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.001217/0.001217, allocations: 191 kB / 17.32 MB, free: 5.578 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.259/1.259, 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.002028/0.002028, allocations: 287.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8787/0.8787, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4372, allocations: 86.97 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001732/0.439, allocations: 0.5823 MB / 0.7676 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.4394, allocations: 99.64 kB / 0.7677 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.4394, allocations: 4 kB / 0.7677 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.4394, allocations: 3.938 kB / 0.7677 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.4395, allocations: 0 / 0.7677 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.4398, allocations: 27.91 kB / 0.7677 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.4399, allocations: 7.984 kB / 0.7677 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.44, allocations: 0 / 0.7677 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.44, allocations: 0 / 0.7677 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.44, allocations: 0 / 0.7677 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.44, allocations: 0 / 0.7677 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.4402, allocations: 35.91 kB / 0.7678 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.4402, allocations: 0 / 0.7678 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.4402, allocations: 8 kB / 0.7678 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.4403, allocations: 31.95 kB / 0.7678 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4403, allocations: 0 / 0.7678 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4404, allocations: 0 / 0.7678 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4404, allocations: 0 / 0.7678 GB, free: 3.277 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.000317/0.4407, allocations: 323.5 kB / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4407, allocations: 8.031 kB / 0.7681 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.4408, allocations: 0.9375 kB / 0.7681 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.4409, allocations: 164.4 kB / 0.7683 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4409, allocations: 8.375 kB / 0.7683 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.4409, allocations: 384 / 0.7683 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.441, allocations: 30.2 kB / 0.7683 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.441, allocations: 192 / 0.7683 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.441, allocations: 3.938 kB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.441, allocations: 3.938 kB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.4411, allocations: 4 kB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.4412, allocations: 145.7 kB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.4413, allocations: 22.61 kB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.4413, allocations: 8.844 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.4415, allocations: 81.17 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.4416, allocations: 42.48 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.4416, allocations: 0 / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.4417, allocations: 37.62 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4418, allocations: 51.41 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.4418, allocations: 93.98 kB / 0.7688 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.4418, allocations: 29.7 kB / 0.7688 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.4419, allocations: 80.14 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4419, allocations: 3.906 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4419, allocations: 9.719 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.442, allocations: 318.8 kB / 0.7692 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.4421, allocations: 4 kB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.4421, allocations: 0 / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.4421, allocations: 16.86 kB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4421, allocations: 0 / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.751e-05/0.4422, allocations: 29.7 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4422, allocations: 6.344 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4422, allocations: 0 / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4422, allocations: 7.938 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.4423, allocations: 0 / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4423, allocations: 4 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.4423, allocations: 7.922 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4423, allocations: 4.031 kB / 0.7693 GB, free: 1.516 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.874e-05/0.4424, allocations: 121.6 kB / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.4424, allocations: 0 / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.4425, allocations: 40.7 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.4425, allocations: 0 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4425, allocations: 0 / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4425, allocations: 3.984 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.819e-05/0.4426, allocations: 141.7 kB / 0.7696 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4426, allocations: 4 kB / 0.7696 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.4426, allocations: 4.031 kB / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4426, allocations: 0 / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4426, allocations: 3.938 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4426, allocations: 0 / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4426, allocations: 0 / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.4427, allocations: 65.06 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.4428, allocations: 81.05 kB / 0.7697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4428, allocations: 7.969 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.4428, allocations: 0 / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.4428, allocations: 4 kB / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.4428, allocations: 0 / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.4428, allocations: 75.28 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4429, allocations: 0 / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002092/0.4431, allocations: 15.98 kB / 0.7698 GB, free: 0.8633 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.0001942/0.4433, allocations: 115.2 kB / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.4433, allocations: 4 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4433, allocations: 0 / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.4434, allocations: 7.984 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.4435, allocations: 4.688 kB / 0.77 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.4437, allocations: 102.8 kB / 0.7701 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.444, allocations: 0.6729 MB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.444, allocations: 11.56 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.444, allocations: 0 / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Templates: time 0.00186/0.4459, allocations: 0.5502 MB / 0.7713 GB, free: 15.33 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)