Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001284/0.001284, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.4/2.4, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 0.8688 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6098, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002155/0.612, allocations: 1.511 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.6124, allocations: 152.4 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.6124, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.6124, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.6125, allocations: 3.938 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.6127, allocations: 39.95 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.6128, allocations: 15.94 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.6129, allocations: 11.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.6129, allocations: 7.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.6129, allocations: 7.984 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.613, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.6131, allocations: 43.91 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.6131, allocations: 11.92 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.6131, allocations: 8 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.6132, allocations: 47.88 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6132, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6132, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6132, allocations: 0 / 1.019 GB, free: 0.8125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003525/0.6136, allocations: 337.7 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6136, allocations: 15.97 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.6137, allocations: 34.75 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.6137, allocations: 0.9375 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.6138, allocations: 172.3 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.6138, allocations: 384 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.6138, allocations: 384 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.614, allocations: 50.23 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.614, allocations: 11.88 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.614, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.614, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.6142, allocations: 35.97 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.6144, allocations: 260.8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6145, allocations: 38.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.6146, allocations: 24.89 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.6148, allocations: 89.09 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.6148, allocations: 38.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6148, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003051/0.6151, allocations: 81.58 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.6152, allocations: 51.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.6152, allocations: 110 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.6152, allocations: 25.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.6153, allocations: 80.14 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.6153, allocations: 11.91 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.6153, allocations: 9.719 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.6154, allocations: 314.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.6155, allocations: 19.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.6155, allocations: 15.98 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6157, allocations: 36.83 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6157, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.6159, allocations: 73.59 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6159, allocations: 4.094 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.6159, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.6159, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.616, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.616, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.616, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.6161, allocations: 0 / 1.021 GB, free: 14.63 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 (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 5.349e-05/0.6161, allocations: 110.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6161, allocations: 7.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.6163, allocations: 76.72 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6164, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6164, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6164, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.6165, allocations: 165.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6165, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.6166, allocations: 7.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6166, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.6166, allocations: 4.031 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6166, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6166, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.6168, allocations: 163.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.6168, allocations: 81.11 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.6169, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.6169, allocations: 16.02 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.617, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.617, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.617, allocations: 83.28 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.617, allocations: 3.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002167/0.6172, allocations: 16 kB / 1.021 GB, free: 13.8 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 (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.0004728/0.6177, allocations: 0.7084 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.6179, allocations: 39.89 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6179, allocations: 4.094 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.618, allocations: 19.98 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6182, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.6186, allocations: 127.3 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6187, allocations: 0.6768 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.6188, allocations: 4.062 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.6188, allocations: 19.38 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6188, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/2.042, allocations: 1.358 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/2.042, allocations: 207.3 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/3.876, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat