Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 192.4 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008738, allocations: 90.31 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.625e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2396, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8751/1.115, allocations: 150.9 MB / 1.353 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.115, allocations: 86.62 kB / 1.354 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01594/1.131, allocations: 5.66 MB / 1.359 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.131, allocations: 0 / 1.359 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.131, allocations: 0 / 1.359 GB, free: 33.46 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004352/1.131, allocations: 374.4 kB / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.131, allocations: 11.22 kB / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/1.132, allocations: 79.28 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/1.132, allocations: 243 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/1.132, allocations: 150.6 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/1.132, allocations: 154.5 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.906e-05/1.132, allocations: 154.5 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/1.132, allocations: 105 kB / 1.36 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/1.132, allocations: 78.97 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/1.132, allocations: 153.9 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/1.132, allocations: 150.6 kB / 1.361 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/1.133, allocations: 437.2 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/1.133, allocations: 169.1 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/1.133, allocations: 87.95 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/1.133, allocations: 75.28 kB / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.133, allocations: 105.8 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/1.133, allocations: 0 / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.728e-05/1.133, allocations: 36.8 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.133, allocations: 55.41 kB / 1.362 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/1.133, allocations: 95.62 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/1.133, allocations: 25.7 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/1.133, allocations: 83.95 kB / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/1.133, allocations: 0 / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/1.133, allocations: 0 / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.133, allocations: 314.4 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/1.133, allocations: 0 / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/1.133, allocations: 38.06 kB / 1.362 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.133, allocations: 21.64 kB / 1.362 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.133, allocations: 0 / 1.362 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001847/1.134, allocations: 65.78 kB / 1.362 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.134, allocations: 3.656 kB / 1.362 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.134, allocations: 7.812 kB / 1.362 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.134, allocations: 4.094 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/1.134, allocations: 7.203 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.134, allocations: 3.875 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/1.134, allocations: 4 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.134, allocations: 3.875 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/1.134, allocations: 176.3 kB / 1.362 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.922e-05/1.134, allocations: 148.9 kB / 1.363 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/1.134, allocations: 108.9 kB / 1.363 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/1.134, allocations: 108.6 kB / 1.363 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/1.134, allocations: 187.1 kB / 1.363 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/1.134, allocations: 176.3 kB / 1.363 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.816e-05/1.134, allocations: 176.3 kB / 1.363 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/1.135, allocations: 388 kB / 1.364 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/1.135, allocations: 105 kB / 1.364 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/1.135, allocations: 108.8 kB / 1.364 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-05/1.135, allocations: 183.5 kB / 1.364 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/1.135, allocations: 176.3 kB / 1.364 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.474e-05/1.135, allocations: 176.3 kB / 1.364 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/1.135, allocations: 191.8 kB / 1.365 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/1.135, allocations: 295.1 kB / 1.365 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/1.135, allocations: 185.9 kB / 1.365 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/1.135, allocations: 185.7 kB / 1.365 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/1.135, allocations: 101 kB / 1.365 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/1.135, allocations: 189.6 kB / 1.365 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.135, allocations: 105 kB / 1.366 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.653e-05/1.135, allocations: 84.64 kB / 1.366 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.135, allocations: 0 / 1.366 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000402/1.136, allocations: 61.52 kB / 1.366 GB, free: 26.54 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009803/1.137, allocations: 0.9863 MB / 1.367 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/1.137, allocations: 7.594 kB / 1.367 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.137, allocations: 0 / 1.367 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/1.137, allocations: 7.875 kB / 1.367 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/1.137, allocations: 0.5275 MB / 1.367 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/1.138, allocations: 185.4 kB / 1.367 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/1.138, allocations: 0.6765 MB / 1.368 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.756e-05/1.138, allocations: 3.984 kB / 1.368 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/1.138, allocations: 20.16 kB / 1.368 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of SimCode: time 1.743e-06/1.138, allocations: 0 / 1.368 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8183/1.956, allocations: 1.953 MB / 1.37 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/1.957, allocations: 212.2 kB / 1.37 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/3.495, allocations: 0 / 1.37 GB, free: 23.76 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat