Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.44 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001755/0.3544, allocations: 0.6405 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.3548, allocations: 103.6 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-06/0.3548, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.3549, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.3549, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.3552, allocations: 27.89 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.096e-05/0.3552, allocations: 8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.3553, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.3553, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.3553, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.3553, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3555, allocations: 47.84 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.3555, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.3555, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3556, allocations: 27.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3556, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3556, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.3556, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 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.0002859/0.3559, allocations: 319.6 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.356, allocations: 8.031 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.356, allocations: 4.938 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.448e-05/0.3561, allocations: 164.4 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3561, allocations: 384 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3561, allocations: 384 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.3562, allocations: 42.19 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3562, allocations: 192 / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3563, allocations: 3.938 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3563, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.3563, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.3564, allocations: 151.9 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.3565, allocations: 26.56 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.3565, allocations: 12.89 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3567, allocations: 81.09 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3568, allocations: 34.56 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.505e-06/0.3568, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.3569, allocations: 45.56 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.357, allocations: 59.47 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.357, allocations: 89.86 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.357, allocations: 25.7 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.3571, allocations: 80.14 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.3571, allocations: 0 / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.3571, allocations: 13.72 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.3572, allocations: 310.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.3572, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.3573, allocations: 15.92 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.3573, allocations: 8.859 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3573, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.3574, allocations: 33.7 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3574, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3574, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3574, allocations: 3.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.3574, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3575, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-06/0.3575, allocations: 4.094 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3575, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 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.951e-05/0.3576, allocations: 113.8 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.3576, allocations: 3.906 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.3577, allocations: 40.77 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3577, allocations: 4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3577, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3577, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.838e-05/0.3578, allocations: 145.7 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3578, allocations: 4.031 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.3578, allocations: 4 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3578, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3578, allocations: 3.938 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3578, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3579, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.271e-05/0.3579, allocations: 65.06 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.358, allocations: 77.14 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.358, allocations: 7.938 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.358, allocations: 3.938 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-06/0.358, allocations: 0 / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.358, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.3581, allocations: 75.28 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3581, allocations: 0 / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001919/0.3583, allocations: 8 kB / 1.07 GB, free: 7.637 MB / 0.8262 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.0002081/0.3585, allocations: 123.2 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/0.3585, allocations: 7.938 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3585, allocations: 0 / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.3586, allocations: 7.938 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.3587, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.3589, allocations: 74.75 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3591, allocations: 0.6694 MB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.3591, allocations: 4 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.3591, allocations: 11.44 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3592, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of Templates: time 0.002471/0.3616, allocations: 400.5 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)