Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.001532/0.001532, allocations: 108 kB / 15.61 MB, free: 152 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.00179/0.00179, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5467, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001647/0.5484, allocations: 0.5802 MB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.5487, allocations: 111.6 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.195e-05/0.5487, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.5487, allocations: 3.938 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-06/0.5488, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.549, allocations: 23.92 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.732e-05/0.5491, allocations: 4 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.5491, allocations: 3.984 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.119e-05/0.5492, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.511e-05/0.5492, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.5492, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.5493, allocations: 39.89 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.5494, allocations: 8 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.5494, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.5495, allocations: 35.89 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5495, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5495, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5495, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 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.0002464/0.5498, allocations: 315.6 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5498, allocations: 8.031 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.5498, allocations: 30.75 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.5499, allocations: 4.938 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.55, allocations: 164.4 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.55, allocations: 384 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.55, allocations: 384 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.5501, allocations: 34.2 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5501, allocations: 3.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-06/0.5501, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5501, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.5501, allocations: 7.922 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.5502, allocations: 141.7 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.5503, allocations: 26.59 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.5503, allocations: 8.859 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.5505, allocations: 85.16 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.5506, allocations: 34.5 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5506, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.5507, allocations: 37.55 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5507, allocations: 63.52 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.852e-05/0.5508, allocations: 89.86 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.5508, allocations: 25.7 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.5508, allocations: 84.14 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.5508, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.5509, allocations: 13.72 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.551, allocations: 310.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.551, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.551, allocations: 7.938 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.551, allocations: 8.859 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.551, allocations: 3.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.33e-05/0.5511, allocations: 37.69 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5511, allocations: 8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.5511, allocations: 3.938 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5511, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.5512, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.5512, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-06/0.5512, allocations: 4.094 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5512, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 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 5.495e-05/0.5513, allocations: 105.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.5513, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.5514, allocations: 48.69 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.5514, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5514, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5514, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.12e-05/0.5515, allocations: 145.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5515, allocations: 8.016 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.5515, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.5515, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5515, allocations: 3.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5515, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5515, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.5516, allocations: 57.08 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.5517, allocations: 85.12 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.5517, allocations: 7.875 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.5517, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-06/0.5517, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.5517, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.5517, allocations: 75.28 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5517, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001887/0.5519, allocations: 8 kB / 1.02 GB, free: 15.21 MB / 0.7794 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.000367/0.5523, allocations: 0.6146 MB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.5524, allocations: 11.92 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5524, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.5524, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.5525, allocations: 8.156 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.5528, allocations: 118.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.553, allocations: 0.6729 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.553, allocations: 3.984 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.5531, allocations: 7.438 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5531, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.5687, allocations: 1.12 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/7.464, allocations: 9.078 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)