Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001354/0.001355, allocations: 193.2 kB / 16.14 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.39 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.004011/0.3363, allocations: 1.501 MB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.3369, allocations: 171.5 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.337, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.337, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.3371, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3374, allocations: 31.91 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.3375, allocations: 19.92 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.3376, allocations: 8 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.3376, allocations: 11.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.3377, allocations: 11.94 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3377, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3379, allocations: 43.84 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3379, allocations: 11.97 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.3379, allocations: 11.94 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3381, allocations: 43.94 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3381, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3381, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3381, allocations: 0 / 1.069 GB, free: 9.059 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005278/0.3386, allocations: 345.4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3387, allocations: 12.03 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.3388, allocations: 0.9375 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3389, allocations: 172.3 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3389, allocations: 4.375 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3389, allocations: 4.312 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3391, allocations: 50.23 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3391, allocations: 192 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3392, allocations: 3.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3392, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.3393, allocations: 39.95 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3397, allocations: 245 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3399, allocations: 42.42 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.3399, allocations: 20.91 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.3401, allocations: 89.09 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3402, allocations: 34.56 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3402, allocations: 0 / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003723/0.3406, allocations: 81.55 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3406, allocations: 55.41 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.3407, allocations: 105.9 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3407, allocations: 29.7 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.3408, allocations: 84.12 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.3408, allocations: 7.906 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.3409, allocations: 13.72 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.341, allocations: 310.8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.3411, allocations: 19.98 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.3412, allocations: 19.97 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3413, allocations: 36.83 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3414, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000209/0.3416, allocations: 69.59 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3416, allocations: 9.562 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3416, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3416, allocations: 8.031 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.3417, allocations: 7.984 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3417, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.3418, allocations: 7.938 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3418, allocations: 4 kB / 1.071 GB, free: 6.922 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 (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 7.572e-05/0.3419, allocations: 109.8 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.3419, allocations: 7.984 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3422, allocations: 80.72 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3422, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3422, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3422, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3424, allocations: 157.6 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3424, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.3425, allocations: 15.92 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3425, allocations: 4.031 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3425, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3428, allocations: 167.4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.3428, allocations: 81.05 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3429, allocations: 7.984 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3429, allocations: 4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.343, allocations: 4.031 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.343, allocations: 3.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.343, allocations: 79.28 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00024/0.3433, allocations: 12 kB / 1.072 GB, free: 6.102 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 (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.000229/0.3435, allocations: 111.2 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3438, allocations: 43.91 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3438, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.3439, allocations: 15.98 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3442, allocations: 11.92 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.3445, allocations: 111.4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3448, allocations: 0.6731 MB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.3448, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.3448, allocations: 7.438 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3448, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of Templates: time 0.00308/0.3479, allocations: 0.5747 MB / 1.073 GB, free: 4.488 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)