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.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.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.0008795/0.0008796, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005177/0.005177, allocations: 168.9 kB / 16.26 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.445/2.445, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 12 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5783, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006372/0.579, allocations: 325.6 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.5793, allocations: 103.6 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-06/0.5793, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.5794, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.466e-06/0.5794, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.5796, allocations: 27.91 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.7e-05/0.5796, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.5797, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.019e-05/0.5797, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.51e-05/0.5797, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.5797, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.5799, allocations: 35.91 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.5799, allocations: 7.984 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.5799, allocations: 25.7 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.58, allocations: 35.89 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.58, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.58, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.494e-06/0.58, allocations: 0 / 1.024 GB, free: 15.28 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002335/0.5803, allocations: 311.6 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5803, allocations: 12.03 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.5804, allocations: 30.75 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.5804, allocations: 0.9375 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.5805, allocations: 168.4 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.5805, allocations: 4.312 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.5805, allocations: 4.375 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.661e-05/0.5806, allocations: 26.27 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5806, allocations: 3.938 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.5806, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5806, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.5806, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.5808, allocations: 141.7 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.5808, allocations: 26.5 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.5808, allocations: 12.94 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.581, allocations: 85.09 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.581, allocations: 34.56 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.581, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.5812, allocations: 41.48 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5812, allocations: 55.41 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.957e-05/0.5812, allocations: 89.86 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.5813, allocations: 25.7 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.5813, allocations: 84.14 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5813, allocations: 3.984 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.5814, allocations: 9.719 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.5815, allocations: 322.9 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.5815, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.5815, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.5815, allocations: 8.797 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5815, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.881e-05/0.5816, allocations: 37.7 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.5816, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5816, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.5816, allocations: 8.094 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.5816, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5817, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.5817, allocations: 7.922 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.5817, allocations: 0 / 1.025 GB, free: 13.48 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 (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 5.881e-05/0.5817, allocations: 106.4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.5818, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.5818, allocations: 44.75 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5818, allocations: 8.031 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5819, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5819, allocations: 3.984 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.835e-05/0.5819, allocations: 141.7 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.582, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.582, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.582, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.582, allocations: 3.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.582, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.582, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.171e-05/0.5821, allocations: 65.06 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.5821, allocations: 81.11 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.5821, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.5821, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-06/0.5822, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.5822, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.5822, allocations: 75.28 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5822, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001838/0.5824, allocations: 16.02 kB / 1.026 GB, free: 12.84 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.0003604/0.5828, allocations: 0.6167 MB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.328e-05/0.5828, allocations: 8.031 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5828, allocations: 3.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.5828, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.5829, allocations: 2.188 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.5832, allocations: 108.3 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.5834, allocations: 0.6692 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.425e-06/0.5834, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.5835, allocations: 7.438 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5835, allocations: 4 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.6026, allocations: 0.9602 MB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6028, allocations: 224.1 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.535, allocations: 0 / 1.028 GB, free: 10.25 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