Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001109/0.001109, allocations: 90.66 kB / 16.66 MB, free: 5.867 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.001248/0.001248, allocations: 178.8 kB / 17.58 MB, free: 5.543 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.36/1.36, allocations: 223.3 MB / 241.6 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7519/0.7519, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 8 kB / 496.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.389, allocations: 77.52 MB / 0.5606 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0007343/0.3898, allocations: 316.3 kB / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.3901, allocations: 102.7 kB / 0.561 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-06/0.3902, allocations: 0 / 0.561 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.3902, allocations: 0 / 0.561 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.3902, allocations: 0 / 0.561 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.3905, allocations: 25.45 kB / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.387e-05/0.3905, allocations: 1 kB / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.3906, allocations: 1.578 kB / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.3906, allocations: 5.859 kB / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.3906, allocations: 0 / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3907, allocations: 2.312 kB / 0.561 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3908, allocations: 38.56 kB / 0.5611 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.3908, allocations: 3.938 kB / 0.5611 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3909, allocations: 28.02 kB / 0.5611 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.44e-05/0.391, allocations: 23.47 kB / 0.5611 GB, free: 35.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.391, allocations: 0 / 0.5611 GB, free: 35.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.391, allocations: 0.6875 kB / 0.5611 GB, free: 35.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.391, allocations: 1.594 kB / 0.5611 GB, free: 35.87 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000231/0.3912, allocations: 318.4 kB / 0.5614 GB, free: 35.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3913, allocations: 12.53 kB / 0.5614 GB, free: 35.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3913, allocations: 2.594 kB / 0.5614 GB, free: 35.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/0.3914, allocations: 161.1 kB / 0.5616 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3914, allocations: 3.375 kB / 0.5616 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.3914, allocations: 384 / 0.5616 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.3915, allocations: 33.31 kB / 0.5616 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3916, allocations: 192 / 0.5616 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3916, allocations: 10.88 kB / 0.5616 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3916, allocations: 0 / 0.5616 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.3916, allocations: 1 kB / 0.5616 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.3917, allocations: 147.2 kB / 0.5618 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.99e-05/0.3917, allocations: 21.36 kB / 0.5618 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.3918, allocations: 11.17 kB / 0.5618 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.392, allocations: 83.73 kB / 0.5619 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.392, allocations: 32.66 kB / 0.5619 GB, free: 34.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.392, allocations: 1.562 kB / 0.5619 GB, free: 34.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3922, allocations: 36.64 kB / 0.562 GB, free: 34.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3922, allocations: 56.44 kB / 0.562 GB, free: 34.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.016e-05/0.3922, allocations: 89.86 kB / 0.5621 GB, free: 34.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-06/0.3922, allocations: 26.45 kB / 0.5621 GB, free: 34.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.3922, allocations: 89.86 kB / 0.5622 GB, free: 34.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3923, allocations: 1.375 kB / 0.5622 GB, free: 34.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.3923, allocations: 9.719 kB / 0.5622 GB, free: 34.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.3924, allocations: 313 kB / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.3924, allocations: 3.516 kB / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.3924, allocations: 0 / 0.5625 GB, free: 34.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.3924, allocations: 10.59 kB / 0.5625 GB, free: 34.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3924, allocations: 0 / 0.5625 GB, free: 34.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.726e-05/0.3925, allocations: 40.34 kB / 0.5626 GB, free: 34.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3925, allocations: 4.906 kB / 0.5626 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3925, allocations: 5.547 kB / 0.5626 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3925, allocations: 5.219 kB / 0.5626 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.3926, allocations: 2.875 kB / 0.5626 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3926, allocations: 0.7969 kB / 0.5626 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.3926, allocations: 1.156 kB / 0.5626 GB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3926, allocations: 4.484 kB / 0.5626 GB, free: 34.21 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 (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 4.999e-05/0.3927, allocations: 109.8 kB / 0.5627 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.3927, allocations: 1.375 kB / 0.5627 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.3928, allocations: 39.05 kB / 0.5627 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3928, allocations: 1.406 kB / 0.5627 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3928, allocations: 2.266 kB / 0.5627 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3928, allocations: 0 / 0.5627 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.529e-05/0.3928, allocations: 149.2 kB / 0.5629 GB, free: 33.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3928, allocations: 1.688 kB / 0.5629 GB, free: 33.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.3929, allocations: 5.5 kB / 0.5629 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3929, allocations: 0.9688 kB / 0.5629 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3929, allocations: 3.938 kB / 0.5629 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3929, allocations: 1.938 kB / 0.5629 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3929, allocations: 1.094 kB / 0.5629 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.393, allocations: 64.55 kB / 0.563 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.393, allocations: 81.62 kB / 0.563 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.393, allocations: 5.797 kB / 0.563 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-06/0.393, allocations: 0 / 0.563 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.393, allocations: 1.75 kB / 0.563 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.393, allocations: 0.5625 kB / 0.563 GB, free: 33.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.62e-05/0.3931, allocations: 77.34 kB / 0.5631 GB, free: 33.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3931, allocations: 3.938 kB / 0.5631 GB, free: 33.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.3933, allocations: 12.53 kB / 0.5631 GB, free: 33.61 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 (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.000165/0.3935, allocations: 113.5 kB / 0.5632 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.625e-05/0.3935, allocations: 7.578 kB / 0.5633 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3935, allocations: 0 / 0.5633 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.3935, allocations: 2.562 kB / 0.5633 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3937, allocations: 3.656 kB / 0.5633 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001523/0.3938, allocations: 103.1 kB / 0.5634 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3939, allocations: 0.671 MB / 0.564 GB, free: 32.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.394, allocations: 10.78 kB / 0.564 GB, free: 32.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.394, allocations: 0 / 0.564 GB, free: 32.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002019/0.396, allocations: 0.5384 MB / 0.5645 GB, free: 32.67 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)