Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.0006992/0.0006995, allocations: 91.84 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.004411/0.004411, allocations: 170 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003143, allocations: 11.98 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5598, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001172/0.5611, allocations: 1.152 MB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.5614, allocations: 163.1 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.5614, allocations: 0 / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.5615, allocations: 8.922 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.5615, allocations: 0 / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.5617, allocations: 31.95 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.5618, allocations: 25 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.39e-05/0.5619, allocations: 3.062 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.5619, allocations: 11.14 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.5619, allocations: 6.844 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.562, allocations: 5.031 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.5621, allocations: 38.88 kB / 0.9566 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.5621, allocations: 9.078 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.5621, allocations: 34.84 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.5622, allocations: 43.56 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5622, allocations: 1.156 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5623, allocations: 0 / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5623, allocations: 0 / 0.9567 GB, free: 6.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003351/0.5626, allocations: 352.2 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5626, allocations: 10 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.5627, allocations: 31.81 kB / 0.957 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.5627, allocations: 2.031 kB / 0.957 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.5628, allocations: 161.6 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.5628, allocations: 1.469 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5628, allocations: 5.5 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.563, allocations: 62 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.563, allocations: 5.094 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.563, allocations: 0 / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.563, allocations: 0 / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.5632, allocations: 45.08 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.5634, allocations: 252.6 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5635, allocations: 52.05 kB / 0.9576 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.5636, allocations: 30.78 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.5638, allocations: 89.73 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.5638, allocations: 31.97 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.5638, allocations: 0 / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000332/0.5641, allocations: 102.7 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.5642, allocations: 51.41 kB / 0.9579 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.893e-05/0.5642, allocations: 103.5 kB / 0.958 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.5642, allocations: 25.7 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.5642, allocations: 85.38 kB / 0.9581 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.5643, allocations: 9.344 kB / 0.9581 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.5643, allocations: 17.66 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.5643, allocations: 312.3 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.5644, allocations: 17.42 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.5645, allocations: 27.38 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5646, allocations: 48.73 kB / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5646, allocations: 3.938 kB / 0.9585 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.5648, allocations: 78.84 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5649, allocations: 5.25 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5649, allocations: 4 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.5649, allocations: 3.938 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.565, allocations: 13.48 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.565, allocations: 0 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.565, allocations: 14.25 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.565, allocations: 1.25 kB / 0.9586 GB, free: 4.484 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 (2): * Single equations (assignments): 2 * 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 3.999e-05/0.5651, allocations: 114.8 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.5651, allocations: 5.172 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.5653, allocations: 81 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5653, allocations: 0 / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5653, allocations: 0 / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5653, allocations: 1.625 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.605e-05/0.5654, allocations: 161 kB / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5654, allocations: 0 / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.5655, allocations: 21.92 kB / 0.959 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5655, allocations: 4.031 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.5655, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5655, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5655, allocations: 2.062 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.5657, allocations: 171.5 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.5658, allocations: 78.83 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.5658, allocations: 0 / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.5659, allocations: 17.95 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.5659, allocations: 1.812 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.5659, allocations: 0 / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.823e-05/0.5659, allocations: 86.88 kB / 0.9593 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5659, allocations: 0 / 0.9593 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002136/0.5661, allocations: 14.81 kB / 0.9593 GB, free: 3.742 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 (2): * Single equations (assignments): 2 * 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.0004006/0.5665, allocations: 0.7214 MB / 0.96 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.5667, allocations: 43.94 kB / 0.9601 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5668, allocations: 4.094 kB / 0.9601 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.5668, allocations: 24.17 kB / 0.9601 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5671, allocations: 9.797 kB / 0.9601 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.5674, allocations: 140.5 kB / 0.9603 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.5675, allocations: 0.6767 MB / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.5675, allocations: 5.828 kB / 0.9609 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.5675, allocations: 15.42 kB / 0.9609 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5675, allocations: 0 / 0.9609 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009323/0.5769, allocations: 1.245 MB / 0.9622 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.577, allocations: 211.9 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.212, allocations: 0 / 0.9624 GB, free: 1.297 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat