Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008678/0.0008679, allocations: 88.02 kB / 16.66 MB, free: 6.586 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.0009678/0.0009678, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.306/1.306, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6987/0.6987, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003181, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001371/0.3695, allocations: 1.149 MB / 0.5617 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.3699, allocations: 159.3 kB / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.3699, allocations: 0 / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.37, allocations: 0.75 kB / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.37, allocations: 5.031 kB / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.3703, allocations: 39.81 kB / 0.5619 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.3703, allocations: 19.2 kB / 0.5619 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.476e-05/0.3704, allocations: 10.19 kB / 0.5619 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.3704, allocations: 4.562 kB / 0.5619 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.3705, allocations: 13.7 kB / 0.5619 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3705, allocations: 1.219 kB / 0.5619 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3706, allocations: 39.81 kB / 0.562 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.3706, allocations: 1.484 kB / 0.562 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.3707, allocations: 37.95 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.3708, allocations: 28.38 kB / 0.5621 GB, free: 35.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3708, allocations: 0 / 0.5621 GB, free: 35.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3708, allocations: 3.938 kB / 0.5621 GB, free: 35.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3708, allocations: 1.438 kB / 0.5621 GB, free: 35.17 MB / 446.1 MB 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.0003529/0.3712, allocations: 344.1 kB / 0.5624 GB, free: 34.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3712, allocations: 13.56 kB / 0.5624 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.3713, allocations: 7.969 kB / 0.5624 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.3713, allocations: 163.1 kB / 0.5626 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3714, allocations: 1.938 kB / 0.5626 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3714, allocations: 2.422 kB / 0.5626 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3716, allocations: 59.39 kB / 0.5626 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3716, allocations: 1.781 kB / 0.5626 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3716, allocations: 3.938 kB / 0.5626 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3716, allocations: 1.5 kB / 0.5626 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3718, allocations: 43.88 kB / 0.5627 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.372, allocations: 253.1 kB / 0.5629 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3722, allocations: 45.98 kB / 0.563 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.3723, allocations: 30.78 kB / 0.563 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3724, allocations: 88.95 kB / 0.5631 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3724, allocations: 33.47 kB / 0.5631 GB, free: 34.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.3724, allocations: 0 / 0.5631 GB, free: 34.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.3728, allocations: 106.4 kB / 0.5632 GB, free: 34.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.3728, allocations: 52.97 kB / 0.5633 GB, free: 34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.3729, allocations: 100.7 kB / 0.5633 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.3729, allocations: 27.05 kB / 0.5634 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.3729, allocations: 81.5 kB / 0.5635 GB, free: 33.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.373, allocations: 6.625 kB / 0.5635 GB, free: 33.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.373, allocations: 14.75 kB / 0.5635 GB, free: 33.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.373, allocations: 313.8 kB / 0.5638 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.3731, allocations: 20.31 kB / 0.5638 GB, free: 33.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.3732, allocations: 24.42 kB / 0.5638 GB, free: 33.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3734, allocations: 50.59 kB / 0.5639 GB, free: 33.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3734, allocations: 1.438 kB / 0.5639 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002319/0.3736, allocations: 86.5 kB / 0.5639 GB, free: 33.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3737, allocations: 5.438 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3737, allocations: 1.562 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3737, allocations: 1.312 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.3738, allocations: 11.33 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3738, allocations: 0.6094 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.3738, allocations: 14.62 kB / 0.564 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.3739, allocations: 0.5 kB / 0.564 GB, free: 33.38 MB / 446.1 MB 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.859e-05/0.3739, allocations: 116.5 kB / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.374, allocations: 3.234 kB / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.3742, allocations: 86.56 kB / 0.5642 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3742, allocations: 3.406 kB / 0.5642 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3742, allocations: 0.6562 kB / 0.5642 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3742, allocations: 4 kB / 0.5642 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3743, allocations: 163.6 kB / 0.5643 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3744, allocations: 1.5 kB / 0.5643 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3744, allocations: 11.95 kB / 0.5644 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3744, allocations: 0.6562 kB / 0.5644 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3744, allocations: 0.75 kB / 0.5644 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3744, allocations: 3.438 kB / 0.5644 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3744, allocations: 0 / 0.5644 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3747, allocations: 176.3 kB / 0.5645 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3747, allocations: 78.98 kB / 0.5646 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3747, allocations: 4.5 kB / 0.5646 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3748, allocations: 13.34 kB / 0.5646 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3748, allocations: 3.594 kB / 0.5646 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3749, allocations: 1.594 kB / 0.5646 GB, free: 32.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.3749, allocations: 79.66 kB / 0.5647 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3749, allocations: 0.7812 kB / 0.5647 GB, free: 32.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3751, allocations: 14.44 kB / 0.5647 GB, free: 32.69 MB / 446.1 MB 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.0001431/0.3753, allocations: 120 kB / 0.5648 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3755, allocations: 51.98 kB / 0.5649 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3755, allocations: 0 / 0.5649 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.3756, allocations: 21.66 kB / 0.5649 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3759, allocations: 9.969 kB / 0.5649 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.3761, allocations: 137.2 kB / 0.565 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.783e-05/0.3762, allocations: 0.677 MB / 0.5657 GB, free: 31.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.3762, allocations: 12.44 kB / 0.5657 GB, free: 31.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3762, allocations: 1.531 kB / 0.5657 GB, free: 31.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002288/0.3785, allocations: 0.7471 MB / 0.5664 GB, free: 31.72 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)