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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00127/0.00127, allocations: 201.4 kB / 16.14 MB, free: 6.648 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.5 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.465/2.465, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6388, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002636/0.6415, allocations: 1.492 MB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.6419, allocations: 160.4 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.642, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.642, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.6421, allocations: 7.922 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.6423, allocations: 27.97 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.6424, allocations: 19.94 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.6425, allocations: 7.984 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.6425, allocations: 11.94 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.061e-05/0.6425, allocations: 7.984 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.6426, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.6427, allocations: 47.89 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.6427, allocations: 7.938 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.6428, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.6429, allocations: 51.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6429, allocations: 3.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6429, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.6429, allocations: 0 / 1.019 GB, free: 0.9336 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.0003894/0.6433, allocations: 337.8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6434, allocations: 19.92 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.6434, allocations: 38.75 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.6435, allocations: 4.844 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6436, allocations: 168.4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.6436, allocations: 384 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.6436, allocations: 4.375 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.6438, allocations: 54.17 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6438, allocations: 3.938 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6438, allocations: 3.984 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6438, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.644, allocations: 39.91 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.6443, allocations: 248.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6444, allocations: 38.5 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.6445, allocations: 24.91 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.6447, allocations: 85.09 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6447, allocations: 38.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6448, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003518/0.6451, allocations: 81.58 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.6452, allocations: 55.53 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.6452, allocations: 105.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.6452, allocations: 25.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.6453, allocations: 80.14 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.6453, allocations: 3.906 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.6453, allocations: 17.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.6454, allocations: 314.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.6455, allocations: 15.98 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.6456, allocations: 19.98 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.6458, allocations: 44.75 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6458, allocations: 3.938 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.646, allocations: 61.58 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.646, allocations: 12.09 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.646, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.646, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.6461, allocations: 7.984 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6461, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.6462, allocations: 7.984 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6462, allocations: 4 kB / 1.02 GB, free: 14.75 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.951e-05/0.6463, allocations: 114.3 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.6463, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.6465, allocations: 80.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6465, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6465, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.6465, allocations: 7.875 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.6467, allocations: 165.6 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6467, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.6468, allocations: 11.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6468, allocations: 32 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.6468, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6468, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6468, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.647, allocations: 163.4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.6471, allocations: 77.11 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.6471, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.6472, allocations: 16.02 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.6472, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.6472, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.6473, allocations: 79.28 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6473, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002295/0.6475, allocations: 15.98 kB / 1.021 GB, free: 13.92 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.000541/0.648, allocations: 0.7126 MB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.6482, allocations: 39.89 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6482, allocations: 4.094 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.6483, allocations: 19.98 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.6486, allocations: 3.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.649, allocations: 137.2 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.6492, allocations: 0.677 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.6492, allocations: 4.062 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.6492, allocations: 11.44 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.6492, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.6598, allocations: 1.314 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6601, allocations: 216.6 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.243, allocations: 0 / 1.024 GB, free: 10.75 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