Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008318/0.0008319, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006029/0.006029, allocations: 170 kB / 16.27 MB, free: 6.66 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005373, allocations: 11.72 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3545, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0008477/0.3554, allocations: 314.9 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000456/0.3559, allocations: 119.5 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.3559, allocations: 0 / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.3559, allocations: 0 / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.3559, allocations: 0 / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.3563, allocations: 23.97 kB / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.3564, allocations: 3.984 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.3564, allocations: 0 / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.3564, allocations: 0 / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.754e-05/0.3565, allocations: 4 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.3565, allocations: 0 / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.3567, allocations: 43.89 kB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3567, allocations: 4 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.3567, allocations: 25.7 kB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3569, allocations: 35.84 kB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3569, allocations: 4 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3569, allocations: 0 / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3569, allocations: 0 / 1.075 GB, free: 6.98 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.0003196/0.3572, allocations: 311.5 kB / 1.075 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3573, allocations: 12.09 kB / 1.075 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.3574, allocations: 4.938 kB / 1.075 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.3575, allocations: 160.4 kB / 1.075 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3575, allocations: 4.375 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3575, allocations: 384 / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3576, allocations: 30.27 kB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3576, allocations: 192 / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3576, allocations: 7.938 kB / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3577, allocations: 0 / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.3577, allocations: 7.922 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3579, allocations: 145.7 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.3579, allocations: 24.75 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3579, allocations: 4.859 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.3582, allocations: 89.19 kB / 1.075 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3582, allocations: 34.56 kB / 1.075 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 3.086e-06/0.3582, allocations: 3.984 kB / 1.075 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001793/0.3584, allocations: 41.56 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3585, allocations: 51.53 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.501e-05/0.3585, allocations: 93.86 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3585, allocations: 25.7 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.3586, allocations: 84.12 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3586, allocations: 4 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.3586, allocations: 13.66 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.3587, allocations: 314.8 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.3587, allocations: 0 / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.3588, allocations: 0 / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.3588, allocations: 16.86 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3588, allocations: 0 / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.223e-05/0.3589, allocations: 37.62 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3589, allocations: 4 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3589, allocations: 4 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.359, allocations: 3.938 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.359, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.359, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.359, allocations: 4 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.359, allocations: 4.031 kB / 1.076 GB, free: 5.227 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.848e-05/0.3591, allocations: 109.8 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3592, allocations: 3.906 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.3592, allocations: 44.69 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3593, allocations: 0 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3593, allocations: 0 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3593, allocations: 0 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3594, allocations: 149.7 kB / 1.076 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3594, allocations: 0 / 1.076 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.3594, allocations: 8.016 kB / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3594, allocations: 0 / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3594, allocations: 3.938 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3594, allocations: 4 kB / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3594, allocations: 0 / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.3595, allocations: 49.14 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3596, allocations: 81.09 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3596, allocations: 7.969 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.3596, allocations: 12 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3597, allocations: 3.938 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3597, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.3597, allocations: 75.28 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3597, allocations: 0 / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002003/0.3599, allocations: 8 kB / 1.077 GB, free: 4.574 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.0002328/0.3601, allocations: 115.2 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.3602, allocations: 4 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3602, allocations: 3.938 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.3602, allocations: 4 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.3604, allocations: 1.547 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.3606, allocations: 78.7 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3609, allocations: 0.677 MB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.619e-05/0.3609, allocations: 4.125 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.3609, allocations: 11.38 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 6.22e-07/0.3609, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3637, allocations: 391.3 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)