Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_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.001485/0.001485, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 68.23 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2942, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003002/0.2973, allocations: 1.44 MB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000481/0.2978, allocations: 155.5 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.2978, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2979, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.298, allocations: 3.938 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.2983, allocations: 43.84 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.2984, allocations: 15.94 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.2985, allocations: 11.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.2985, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.2986, allocations: 19.91 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2986, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2987, allocations: 39.91 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.2987, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2988, allocations: 7.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2989, allocations: 47.86 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2989, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2989, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2989, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 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.000465/0.2994, allocations: 343.8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2994, allocations: 8.031 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.2995, allocations: 38.75 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.2995, allocations: 8.844 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2997, allocations: 168.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2997, allocations: 384 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2997, allocations: 4.375 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2999, allocations: 48.08 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.2999, allocations: 3.938 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2999, allocations: 4 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2999, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3001, allocations: 31.97 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3004, allocations: 248.9 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3006, allocations: 38.5 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.3007, allocations: 28.91 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.3008, allocations: 85.09 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3009, allocations: 30.56 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3009, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.3012, allocations: 93.42 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3013, allocations: 51.53 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.3014, allocations: 105.8 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3014, allocations: 25.7 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.3015, allocations: 84.14 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3015, allocations: 3.906 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3015, allocations: 17.72 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3016, allocations: 314.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.3017, allocations: 11.98 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.3018, allocations: 19.98 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.302, allocations: 36.83 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.302, allocations: 7.875 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.3022, allocations: 69.59 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3022, allocations: 8.094 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3022, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.3022, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.3023, allocations: 11.98 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3023, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3024, allocations: 7.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.3024, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 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 7.521e-05/0.3025, allocations: 117.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3025, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3027, allocations: 72.72 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3027, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3027, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3027, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3029, allocations: 169.5 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3029, allocations: 4.188 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.303, allocations: 7.984 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.303, allocations: 32 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.303, allocations: 11.98 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.303, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.303, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3033, allocations: 159.5 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3033, allocations: 81.02 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3033, allocations: 0 / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.3034, allocations: 16.02 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3035, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3035, allocations: 4 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.3035, allocations: 79.22 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002244/0.3038, allocations: 12 kB / 1.068 GB, free: 9.395 MB / 0.8262 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.0006328/0.3044, allocations: 0.7162 MB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3046, allocations: 35.95 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3046, allocations: 12.09 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.3047, allocations: 19.86 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.305, allocations: 7.656 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.3054, allocations: 139.1 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3057, allocations: 0.6768 MB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.3057, allocations: 4.062 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.3057, allocations: 11.44 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3057, allocations: 0 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3729/0.6786, allocations: 1.478 MB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.56, allocations: 11.75 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat