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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 176.9 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.86 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 10.41 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.5139, allocations: 149.4 MB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5142, allocations: 75.95 kB / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003513/0.5178, allocations: 1.053 MB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5178, allocations: 3.938 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5178, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 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.0004591/0.5183, allocations: 355.2 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.5184, allocations: 8.031 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.5184, allocations: 30.56 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.5185, allocations: 4 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.5186, allocations: 167 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5187, allocations: 3.984 kB / 1.371 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.5187, allocations: 11.94 kB / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.5189, allocations: 49.69 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5189, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5189, allocations: 4 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5189, allocations: 3.984 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.5191, allocations: 43.91 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.5197, allocations: 268.9 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.5198, allocations: 38.56 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.5201, allocations: 93.16 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5201, allocations: 30.56 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.5201, allocations: 0 / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0005021/0.5206, allocations: 105.5 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.5207, allocations: 51.41 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.5208, allocations: 96.95 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.5208, allocations: 29.7 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.5209, allocations: 84.12 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.5209, allocations: 7.844 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.5209, allocations: 128 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5211, allocations: 322.8 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.5212, allocations: 15.98 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.5212, allocations: 23.98 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.5214, allocations: 24.03 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5214, allocations: 0 / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002582/0.5216, allocations: 73.61 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5217, allocations: 12.03 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5217, allocations: 7.969 kB / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5217, allocations: 0 / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.5218, allocations: 8 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5218, allocations: 0 / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.5219, allocations: 11.98 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5219, allocations: 3.953 kB / 1.372 GB, free: 9.262 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.522, allocations: 113.8 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.5221, allocations: 4 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.5223, allocations: 80.72 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5223, allocations: 7.922 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5224, allocations: 8.031 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5224, allocations: 3.938 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.5226, allocations: 157.6 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5226, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.5226, allocations: 11.98 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5227, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5227, allocations: 0 / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5227, allocations: 4 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5227, allocations: 0 / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.523, allocations: 179.4 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.523, allocations: 77.3 kB / 1.372 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5231, allocations: 0 / 1.372 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.5231, allocations: 23.95 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.5232, allocations: 3.984 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.5232, allocations: 0 / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.5233, allocations: 83.27 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5233, allocations: 0 / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002312/0.5235, allocations: 16 kB / 1.373 GB, free: 8.402 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006976/0.5242, allocations: 0.7356 MB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5244, allocations: 47.91 kB / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5244, allocations: 0 / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.5245, allocations: 28.05 kB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.5248, allocations: 3.984 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.5253, allocations: 150.2 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.5257, allocations: 0.677 MB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.5257, allocations: 4 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.5257, allocations: 15.44 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.5257, allocations: 4 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.5389, allocations: 1.21 MB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.5392, allocations: 187.6 kB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.061, allocations: 0 / 1.376 GB, free: 5.316 MB / 0.8698 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/linux/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