Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.825/1.825, allocations: 288.4 MB / 303.4 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009937/0.0009941, allocations: 176.6 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008816/0.0008822, allocations: 94.23 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001601/0.2481, allocations: 1.141 MB / 0.9807 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.2485, allocations: 148.5 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.2485, allocations: 0 / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.2486, allocations: 4 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.2486, allocations: 3.938 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.2489, allocations: 31.92 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.249, allocations: 19.98 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2491, allocations: 7.938 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.2491, allocations: 11.91 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.2492, allocations: 8 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2492, allocations: 0 / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2493, allocations: 39.91 kB / 0.981 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.2494, allocations: 11.92 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2494, allocations: 29.7 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.579e-05/0.2495, allocations: 27.94 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2495, allocations: 0 / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2495, allocations: 0 / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2495, allocations: 0 / 0.981 GB, free: 26.14 MB / 0.6198 GB 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.000454/0.25, allocations: 351.5 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.25, allocations: 12.03 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.2501, allocations: 0 / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2502, allocations: 167 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2503, allocations: 0 / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2503, allocations: 0 / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2505, allocations: 53.67 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2505, allocations: 0 / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2506, allocations: 0 / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2506, allocations: 8 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2508, allocations: 47.89 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.2512, allocations: 248.9 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2514, allocations: 42.55 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.2515, allocations: 28.91 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.2517, allocations: 85.09 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2517, allocations: 46.44 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2517, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004297/0.2521, allocations: 93.73 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2522, allocations: 51.41 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.2522, allocations: 101.9 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2523, allocations: 25.7 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.2523, allocations: 91.97 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2523, allocations: 4 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2523, allocations: 0 / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.2524, allocations: 318.8 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.2525, allocations: 20.02 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.2526, allocations: 23.98 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.061e-05/0.2527, allocations: 31.97 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2527, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.2529, allocations: 73.58 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2529, allocations: 8 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2529, allocations: 3.984 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2529, allocations: 32 / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.253, allocations: 12 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.253, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.2531, allocations: 12.17 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2531, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.2531, allocations: 109.8 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.2532, allocations: 7.984 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.2534, allocations: 84.72 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2534, allocations: 7.984 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2534, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2534, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2536, allocations: 161.6 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2536, allocations: 4.031 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.2536, allocations: 11.98 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2536, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2537, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2537, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2537, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.2539, allocations: 183.4 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.2539, allocations: 81.02 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2539, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.254, allocations: 11.98 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2541, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2541, allocations: 4.031 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.2541, allocations: 87.27 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2541, allocations: 7.875 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002106/0.2543, allocations: 12 kB / 0.9837 GB, free: 23.12 MB / 0.6198 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.2545, allocations: 111.2 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.2548, allocations: 47.95 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2548, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.2549, allocations: 27.92 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2551, allocations: 12.08 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.2554, allocations: 108.7 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2556, allocations: 0.677 MB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.2556, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2556, allocations: 7.438 kB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2556, allocations: 0 / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.002622/0.2582, allocations: 0.5631 MB / 0.9852 GB, free: 21.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)