Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002177/0.002178, allocations: 196.2 kB / 16.54 MB, free: 6.668 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.09 kB / 0.9083 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2602, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001874/0.2621, allocations: 0.5855 MB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.2625, allocations: 107.6 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.2625, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.2625, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.2625, allocations: 0 / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2629, allocations: 31.91 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.2629, allocations: 8 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.263, allocations: 7.984 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.263, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.263, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.263, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2632, allocations: 39.89 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.2632, allocations: 4 kB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.2632, allocations: 0 / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2633, allocations: 27.91 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.2633, allocations: 0 / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2634, allocations: 0 / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2634, allocations: 0 / 1.064 GB, free: 13.71 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.0002697/0.2636, allocations: 319.6 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2637, allocations: 8.031 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2637, allocations: 34.75 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.2638, allocations: 4.938 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.898e-05/0.2638, allocations: 160.4 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2639, allocations: 4.375 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.2639, allocations: 4.312 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.837e-05/0.264, allocations: 30.2 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.264, allocations: 3.938 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.264, allocations: 8 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.264, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.264, allocations: 3.984 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.2642, allocations: 141.7 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.2642, allocations: 22.61 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.2642, allocations: 8.797 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.2644, allocations: 89.14 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2645, allocations: 34.56 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2645, allocations: 0 / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.2646, allocations: 33.64 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2646, allocations: 59.39 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.246e-05/0.2647, allocations: 93.86 kB / 1.065 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.2647, allocations: 25.7 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.2647, allocations: 80.14 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2647, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.2648, allocations: 13.84 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.2649, allocations: 314.8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.2649, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.2649, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.2649, allocations: 16.8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2649, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.682e-05/0.265, allocations: 33.69 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.265, allocations: 8.094 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.265, allocations: 7.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2651, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/0.2651, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2651, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.2651, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2651, allocations: 4 kB / 1.066 GB, free: 11.92 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.296e-05/0.2652, allocations: 109.8 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2652, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.2653, allocations: 48.75 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2653, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2653, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-06/0.2653, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.2654, allocations: 149.6 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2654, allocations: 3.984 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.2654, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2654, allocations: 3.984 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.2655, allocations: 7.875 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2655, allocations: 8 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2655, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.156e-05/0.2655, allocations: 61.11 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.2656, allocations: 81.09 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.2656, allocations: 3.938 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-06/0.2656, allocations: 4 kB / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.2656, allocations: 0 / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2656, allocations: 0 / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.25e-05/0.2657, allocations: 75.28 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2657, allocations: 4.031 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001955/0.2659, allocations: 12 kB / 1.067 GB, free: 11.26 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.0003672/0.2662, allocations: 0.6105 MB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.2663, allocations: 7.984 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2663, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.2663, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.2665, allocations: 8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.2667, allocations: 110.6 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.267, allocations: 0.6729 MB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.063e-05/0.267, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.267, allocations: 11.56 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.267, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2834, allocations: 1.135 MB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.327, allocations: 5.312 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)