Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 148 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.001076/0.001076, allocations: 197.6 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5705, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00156/0.5721, allocations: 0.58 MB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.5724, allocations: 98.91 kB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.5724, allocations: 3.938 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.5725, allocations: 1.188 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.5725, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.5729, allocations: 37.38 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.506e-05/0.5729, allocations: 1.5 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.573, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.573, allocations: 5.172 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.573, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.573, allocations: 2 kB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.5732, allocations: 35.5 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.5732, allocations: 4 kB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.5732, allocations: 1.156 kB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.5733, allocations: 27.2 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5733, allocations: 0 / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5734, allocations: 5.5 kB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5734, allocations: 0 / 0.9505 GB, free: 8.555 MB / 0.7169 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.0002071/0.5736, allocations: 315.6 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5736, allocations: 9.344 kB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.161e-05/0.5737, allocations: 34.69 kB / 0.9508 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.5737, allocations: 2.312 kB / 0.9508 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.218e-05/0.5738, allocations: 168.3 kB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.5738, allocations: 384 / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.5738, allocations: 1.844 kB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.608e-05/0.5739, allocations: 35.73 kB / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5739, allocations: 3.938 kB / 0.951 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.5739, allocations: 1.281 kB / 0.951 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5739, allocations: 0 / 0.951 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.574, allocations: 1.438 kB / 0.951 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.605e-05/0.5741, allocations: 143.1 kB / 0.9512 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.5741, allocations: 23.91 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.5741, allocations: 6.266 kB / 0.9512 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.5743, allocations: 89.36 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.5744, allocations: 34.55 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.5744, allocations: 0 / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.5745, allocations: 35.23 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.5746, allocations: 55.34 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.399e-05/0.5746, allocations: 89.86 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.5746, allocations: 27.05 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-06/0.5746, allocations: 88.2 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.5746, allocations: 7.906 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.5747, allocations: 12.56 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.5747, allocations: 314.8 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.5747, allocations: 1.406 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.5747, allocations: 1.562 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.5748, allocations: 6.422 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5748, allocations: 5.156 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.132e-05/0.5749, allocations: 38.98 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5749, allocations: 4.812 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5749, allocations: 3.938 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5749, allocations: 1.219 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.575, allocations: 5.375 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.575, allocations: 7.969 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.575, allocations: 3.984 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.575, allocations: 1.156 kB / 0.952 GB, free: 6.809 MB / 0.7169 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 4.585e-05/0.5751, allocations: 115 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.5751, allocations: 0.8125 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.5752, allocations: 37.55 kB / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5752, allocations: 0 / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5752, allocations: 0 / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5752, allocations: 5.203 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.544e-05/0.5753, allocations: 147 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5753, allocations: 0 / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.5753, allocations: 1.125 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5753, allocations: 5.156 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5753, allocations: 3.938 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5753, allocations: 0 / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5753, allocations: 5.031 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.392e-05/0.5754, allocations: 58.72 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.5755, allocations: 78.67 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.5755, allocations: 3.938 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.5755, allocations: 0 / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.5755, allocations: 5.5 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5755, allocations: 0 / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.076e-05/0.5755, allocations: 75.28 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5755, allocations: 1.344 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003204/0.5759, allocations: 15.36 kB / 0.9525 GB, free: 6.188 MB / 0.7169 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.0003504/0.5762, allocations: 0.6183 MB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.5763, allocations: 4.062 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5763, allocations: 0 / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.5763, allocations: 1.156 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.5765, allocations: 3.969 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.5769, allocations: 117.2 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.577, allocations: 0.6782 MB / 0.9539 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.384e-05/0.577, allocations: 3.984 kB / 0.9539 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.577, allocations: 11.38 kB / 0.9539 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of SimCode: time 9.41e-07/0.577, allocations: 1.625 kB / 0.9539 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.5966, allocations: 1.118 MB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.745, allocations: 8.562 kB / 0.955 GB, free: 4.062 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)