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.006953/0.006953, allocations: 101.1 kB / 15.73 MB, free: 5.523 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.001525/0.001525, allocations: 197.5 kB / 16.67 MB, free: 5.461 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 284 kB / 290.8 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.928/0.928, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4338, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001635/0.4355, allocations: 0.5783 MB / 0.767 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003443/0.4358, allocations: 103.6 kB / 0.7671 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.4359, allocations: 0 / 0.7671 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.4359, allocations: 0 / 0.7671 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.4359, allocations: 0 / 0.7671 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.4362, allocations: 35.91 kB / 0.7671 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.4363, allocations: 0 / 0.7671 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.4363, allocations: 0 / 0.7671 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.4364, allocations: 7.875 kB / 0.7671 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.567e-05/0.4364, allocations: 0 / 0.7671 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.4364, allocations: 4 kB / 0.7671 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.4365, allocations: 39.89 kB / 0.7672 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.4366, allocations: 4 kB / 0.7672 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.4366, allocations: 0 / 0.7672 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.4367, allocations: 31.95 kB / 0.7672 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4367, allocations: 0 / 0.7672 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4367, allocations: 0 / 0.7672 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4367, allocations: 0 / 0.7672 GB, free: 3.117 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.0002856/0.437, allocations: 315.6 kB / 0.7675 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4371, allocations: 12.03 kB / 0.7675 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.4371, allocations: 8.875 kB / 0.7675 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.4372, allocations: 160.4 kB / 0.7677 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.4372, allocations: 4.375 kB / 0.7677 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.4372, allocations: 384 / 0.7677 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.4373, allocations: 34.25 kB / 0.7677 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4373, allocations: 192 / 0.7677 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4373, allocations: 3.938 kB / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4374, allocations: 0 / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.4374, allocations: 0 / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.4375, allocations: 145.6 kB / 0.7679 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.4376, allocations: 30.55 kB / 0.7679 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.4376, allocations: 4.859 kB / 0.7679 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.4378, allocations: 85.16 kB / 0.768 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4378, allocations: 30.56 kB / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4378, allocations: 0 / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.438, allocations: 45.62 kB / 0.768 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.438, allocations: 55.47 kB / 0.7681 GB, free: 2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.56e-05/0.4381, allocations: 93.86 kB / 0.7682 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.4381, allocations: 25.7 kB / 0.7682 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.4381, allocations: 80.14 kB / 0.7683 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4382, allocations: 3.906 kB / 0.7683 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.4382, allocations: 13.72 kB / 0.7683 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4383, allocations: 310.8 kB / 0.7686 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.4383, allocations: 0 / 0.7686 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.4383, allocations: 0 / 0.7686 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.4384, allocations: 20.91 kB / 0.7686 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4384, allocations: 0 / 0.7686 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.74e-05/0.4384, allocations: 29.7 kB / 0.7687 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4384, allocations: 8 kB / 0.7687 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4385, allocations: 3.938 kB / 0.7687 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4385, allocations: 7.875 kB / 0.7687 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.4385, allocations: 4 kB / 0.7687 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4385, allocations: 0 / 0.7687 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.4385, allocations: 4 kB / 0.7687 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4386, allocations: 4.031 kB / 0.7687 GB, free: 1.359 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 7.609e-05/0.4386, allocations: 115.9 kB / 0.7688 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.4387, allocations: 3.984 kB / 0.7688 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.4387, allocations: 40.77 kB / 0.7688 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4387, allocations: 0 / 0.7688 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4387, allocations: 0 / 0.7688 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4388, allocations: 4 kB / 0.7688 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.555e-05/0.4389, allocations: 145.7 kB / 0.769 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4389, allocations: 4.031 kB / 0.769 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.4389, allocations: 0 / 0.769 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4389, allocations: 0 / 0.769 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4389, allocations: 11.88 kB / 0.769 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4389, allocations: 3.938 kB / 0.769 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4389, allocations: 0 / 0.769 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.751e-05/0.439, allocations: 57.12 kB / 0.7691 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.439, allocations: 77.11 kB / 0.7691 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.439, allocations: 11.97 kB / 0.7691 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.4391, allocations: 0 / 0.7691 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.4391, allocations: 0 / 0.7691 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.4391, allocations: 0 / 0.7691 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.4391, allocations: 75.28 kB / 0.7692 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4391, allocations: 0 / 0.7692 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001843/0.4393, allocations: 8 kB / 0.7692 GB, free: 0.7188 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.0001745/0.4395, allocations: 119.2 kB / 0.7693 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.4395, allocations: 3.938 kB / 0.7693 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4396, allocations: 8 kB / 0.7693 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.4396, allocations: 0 / 0.7693 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.4397, allocations: 2.75 kB / 0.7693 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.4399, allocations: 81.06 kB / 0.7694 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4401, allocations: 0.673 MB / 0.7701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.207e-05/0.4401, allocations: 4 kB / 0.7701 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.4401, allocations: 7.438 kB / 0.7701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4402, allocations: 0 / 0.7701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of Templates: time 0.002308/0.4425, allocations: 410.8 kB / 0.7705 GB, free: 15.37 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)