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.001354/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 197.1 kB / 16.25 MB, free: 6.625 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.414 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.382/2.382, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5346, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001701/0.5363, allocations: 0.6568 MB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.5366, allocations: 103.6 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-06/0.5366, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.5367, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.5367, allocations: 4 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.537, allocations: 31.92 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.016e-05/0.537, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.5371, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.5371, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.586e-05/0.5371, allocations: 7.984 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-06/0.5371, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.5372, allocations: 35.91 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.792e-06/0.5373, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.5373, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.5374, allocations: 43.88 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5374, allocations: 3.938 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5374, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.5374, allocations: 0 / 1.018 GB, free: 1.84 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.0002436/0.5377, allocations: 315.6 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5377, allocations: 8.031 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.5377, allocations: 30.75 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.5378, allocations: 4.938 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.5378, allocations: 168.3 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.5379, allocations: 384 / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.5379, allocations: 4.375 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.505e-05/0.5379, allocations: 26.27 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.538, allocations: 3.938 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.538, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.538, allocations: 0 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.538, allocations: 0 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.5381, allocations: 149.7 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.039e-05/0.5382, allocations: 22.55 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.5382, allocations: 8.859 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.5384, allocations: 85.16 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.5384, allocations: 30.56 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5384, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.5385, allocations: 41.55 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.5386, allocations: 55.41 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.356e-05/0.5386, allocations: 89.98 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5386, allocations: 33.64 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.5387, allocations: 80.14 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.5387, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.5387, allocations: 13.7 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.5388, allocations: 314.8 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.5388, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.5389, allocations: 8 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.5389, allocations: 12.92 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5389, allocations: 3.938 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.934e-05/0.539, allocations: 29.7 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.539, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.539, allocations: 7.938 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.539, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.539, allocations: 7.922 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.539, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.5391, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5391, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 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 7.053e-05/0.5391, allocations: 114.4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.5392, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.5392, allocations: 44.75 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5393, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5393, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5393, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.5393, allocations: 145.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5394, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.5394, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5394, allocations: 4.031 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5394, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5394, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5394, allocations: 7.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.665e-05/0.5395, allocations: 57.12 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.5395, allocations: 77.11 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.5395, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.5395, allocations: 8.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.5396, allocations: 3.984 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.5396, allocations: 3.984 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.5396, allocations: 75.28 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5396, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001863/0.5398, allocations: 8 kB / 1.02 GB, free: 15.4 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.0003712/0.5402, allocations: 0.6126 MB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.897e-05/0.5402, allocations: 8 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5402, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.5403, allocations: 3.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.5404, allocations: 5.25 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.5406, allocations: 114.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.5408, allocations: 0.669 MB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.5408, allocations: 7.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.5409, allocations: 11.38 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5409, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.5512, allocations: 1.055 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.5515, allocations: 217.2 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.092, allocations: 0 / 1.022 GB, free: 12.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat