Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001051/0.001051, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008293/0.008293, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 14.19 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0007593/0.3219, allocations: 310.9 kB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003805/0.3223, allocations: 107.6 kB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-06/0.3223, allocations: 0 / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.3223, allocations: 0 / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.3224, allocations: 0 / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.3227, allocations: 31.91 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.3228, allocations: 0 / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.3228, allocations: 4 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.3228, allocations: 0 / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.135e-05/0.3229, allocations: 0 / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3229, allocations: 4 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3231, allocations: 35.91 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.3231, allocations: 3.984 kB / 1.075 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3231, allocations: 25.7 kB / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3232, allocations: 35.89 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3232, allocations: 0 / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3232, allocations: 4 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3233, allocations: 0 / 1.075 GB, free: 6.977 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.0002961/0.3236, allocations: 319.5 kB / 1.075 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3236, allocations: 12.09 kB / 1.075 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.3237, allocations: 0.9375 kB / 1.075 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.3238, allocations: 164.4 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3238, allocations: 384 / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.3238, allocations: 384 / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.3239, allocations: 30.27 kB / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.3239, allocations: 192 / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3239, allocations: 3.938 kB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3239, allocations: 4 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.3239, allocations: 3.984 kB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.3241, allocations: 149.7 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.3241, allocations: 24.69 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.3242, allocations: 8.844 kB / 1.075 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3244, allocations: 85.14 kB / 1.075 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3244, allocations: 38.55 kB / 1.075 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3244, allocations: 4 kB / 1.075 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.3246, allocations: 37.64 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3246, allocations: 55.34 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.548e-05/0.3246, allocations: 89.86 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3247, allocations: 25.7 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3247, allocations: 84.12 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3247, allocations: 0 / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.3248, allocations: 9.844 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3249, allocations: 318.8 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.3249, allocations: 3.938 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.3249, allocations: 7.984 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.325, allocations: 8.859 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.325, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.075e-05/0.325, allocations: 33.64 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.325, allocations: 4 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3251, allocations: 4.094 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3251, allocations: 7.938 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.3251, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.3251, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-06/0.3251, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.3251, allocations: 0 / 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.3252, allocations: 113.8 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3252, allocations: 3.906 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.3253, allocations: 40.77 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3253, allocations: 4.031 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3253, allocations: 0 / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3253, allocations: 0 / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.3254, allocations: 153.7 kB / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3254, allocations: 0 / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.3254, allocations: 3.938 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3255, allocations: 0 / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3255, allocations: 3.938 kB / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3255, allocations: 0 / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3255, allocations: 4 kB / 1.076 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.953e-05/0.3255, allocations: 61.12 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.3256, allocations: 77.11 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3256, allocations: 3.938 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.3256, allocations: 0 / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.3257, allocations: 4 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3257, allocations: 0 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.3257, allocations: 79.22 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3257, allocations: 4.031 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001846/0.3259, allocations: 8 kB / 1.077 GB, free: 4.57 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.0001806/0.3261, allocations: 115.2 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.3261, allocations: 11.94 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3261, allocations: 0 / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.3262, allocations: 4 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.3263, allocations: 4.125 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001713/0.3265, allocations: 78.12 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3268, allocations: 0.6731 MB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.075e-05/0.3268, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.3268, allocations: 7.438 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/0.3268, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.00228/0.3291, allocations: 388.5 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)