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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008733/0.0008733, allocations: 90.36 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.006544/0.006544, allocations: 172 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6087, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001609/0.6103, allocations: 1.161 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000442/0.6108, allocations: 164.4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.6108, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.6109, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.6109, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.6112, allocations: 35.95 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.362e-05/0.6113, allocations: 15.94 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.6113, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.6114, allocations: 19.92 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.6114, allocations: 7.984 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.6115, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.6116, allocations: 39.91 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.6116, allocations: 11.92 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.6117, allocations: 29.7 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6118, allocations: 47.88 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6118, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6118, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.6118, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 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.0004124/0.6122, allocations: 345.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.6123, allocations: 12.03 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.6123, allocations: 34.75 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.6124, allocations: 0.9375 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.6125, allocations: 168.3 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.6125, allocations: 4.375 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6125, allocations: 384 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.6127, allocations: 65.92 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6127, allocations: 3.938 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.6127, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6127, allocations: 3.984 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.6129, allocations: 43.97 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.6132, allocations: 260.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6134, allocations: 42.56 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.6135, allocations: 28.91 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.6137, allocations: 85.09 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6137, allocations: 34.56 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.6137, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003913/0.6141, allocations: 101.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6141, allocations: 51.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.6142, allocations: 101.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.6142, allocations: 29.83 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.6143, allocations: 84.14 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.6143, allocations: 3.906 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.6143, allocations: 9.719 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.6144, allocations: 314.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.6145, allocations: 23.97 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.6146, allocations: 27.98 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.6148, allocations: 48.77 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.6148, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002304/0.615, allocations: 81.66 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6151, allocations: 4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6151, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6151, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.6152, allocations: 20.02 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6152, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.6152, allocations: 11.98 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6153, allocations: 4 kB / 1.027 GB, free: 12.03 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 6.858e-05/0.6153, allocations: 118.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.6154, allocations: 3.906 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.6156, allocations: 84.72 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6156, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6157, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6157, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.6158, allocations: 161.6 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6158, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.6159, allocations: 12.03 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6159, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.6159, allocations: 3.984 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6159, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6159, allocations: 3.938 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.6162, allocations: 175.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.6162, allocations: 85.05 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.6163, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.6163, allocations: 4 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.6164, allocations: 7.984 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.6164, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.6164, allocations: 83.31 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6164, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000238/0.6167, allocations: 12 kB / 1.027 GB, free: 11.18 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.0005731/0.6173, allocations: 0.7166 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.6175, allocations: 55.92 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6175, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.6176, allocations: 23.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.6179, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.6183, allocations: 154.5 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6185, allocations: 0.677 MB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.6185, allocations: 0 / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.6186, allocations: 11.44 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6186, allocations: 0 / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.629, allocations: 1.256 MB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.6292, allocations: 210.4 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.286, allocations: 0 / 1.03 GB, free: 8.062 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