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.001435/0.001435, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001746/0.001746, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.81 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002268/0.3276, allocations: 0.6426 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.3281, allocations: 103.6 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.3281, allocations: 3.938 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3281, allocations: 7.938 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.3281, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3285, allocations: 23.97 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.698e-05/0.3286, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3286, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.3287, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.3287, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3287, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3289, allocations: 39.91 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.3289, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.3289, allocations: 3.984 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.329, allocations: 39.84 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3291, allocations: 3.984 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3291, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3291, allocations: 0 / 1.069 GB, free: 9.918 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.0003043/0.3294, allocations: 311.6 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3294, allocations: 12.03 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.3295, allocations: 0.9375 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3296, allocations: 170.5 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3296, allocations: 384 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3296, allocations: 384 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.3297, allocations: 38.27 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3298, allocations: 192 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3298, allocations: 3.938 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3298, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.3298, allocations: 3.938 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.3299, allocations: 141.7 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.33, allocations: 26.56 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.33, allocations: 8.859 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.3302, allocations: 85.16 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3303, allocations: 30.56 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3303, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.3304, allocations: 45.56 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3305, allocations: 55.41 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.3305, allocations: 89.86 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3305, allocations: 25.83 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.3306, allocations: 84.14 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3306, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.3306, allocations: 13.72 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.3307, allocations: 314.8 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.3308, allocations: 3.938 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.3308, allocations: 7.938 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.3308, allocations: 12.86 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3308, allocations: 4.062 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.216e-05/0.3309, allocations: 33.64 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3309, allocations: 8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3309, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3309, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.331, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.331, allocations: 3.984 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.331, allocations: 4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.331, allocations: 0 / 1.07 GB, free: 8.164 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.234e-05/0.3311, allocations: 109.9 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3311, allocations: 3.906 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.3312, allocations: 44.7 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3312, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3312, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3312, allocations: 7.984 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.011e-05/0.3313, allocations: 141.7 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3313, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.3313, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3314, allocations: 4.031 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3314, allocations: 7.938 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3314, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3314, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.573e-05/0.3315, allocations: 57.12 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3315, allocations: 77.11 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3315, allocations: 7.938 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.3315, allocations: 0 / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3315, allocations: 4.031 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3316, allocations: 0 / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.3316, allocations: 79.22 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3316, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002073/0.3318, allocations: 11.98 kB / 1.071 GB, free: 7.516 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.0002008/0.332, allocations: 119.2 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.3321, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3321, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.3321, allocations: 11.98 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3322, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.3324, allocations: 80.92 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3327, allocations: 0.669 MB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.089e-05/0.3327, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.3327, allocations: 11.38 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3327, allocations: 4.125 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of Templates: time 0.002369/0.3351, allocations: 413.6 kB / 1.072 GB, free: 6.152 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)