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.211/2.211, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001174/0.001174, allocations: 177.1 kB / 498.1 MB, free: 5.688 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.453/1.453, allocations: 223.1 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 92.33 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.448, allocations: 151.7 MB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4483, allocations: 87.94 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01692/0.4653, allocations: 5.97 MB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4653, allocations: 0 / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4653, allocations: 4 kB / 1.377 GB, free: 4.23 MB / 0.8698 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.0004598/0.4658, allocations: 379.2 kB / 1.377 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4659, allocations: 15.97 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.4659, allocations: 105.8 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.466, allocations: 75.28 kB / 1.378 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4662, allocations: 242.3 kB / 1.378 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.4663, allocations: 150.6 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.4663, allocations: 166.5 kB / 1.378 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.4664, allocations: 105 kB / 1.378 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.4664, allocations: 75.28 kB / 1.378 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.4665, allocations: 150.6 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.4666, allocations: 150.6 kB / 1.379 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.4667, allocations: 162.4 kB / 1.379 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.467, allocations: 457.9 kB / 1.379 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.4671, allocations: 173.1 kB / 1.379 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4672, allocations: 75.28 kB / 1.379 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.4672, allocations: 105.8 kB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4672, allocations: 3.938 kB / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.635e-05/0.4673, allocations: 33.7 kB / 1.379 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4674, allocations: 130.7 kB / 1.38 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4675, allocations: 93 kB / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.4675, allocations: 25.7 kB / 1.38 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.4676, allocations: 88.14 kB / 1.38 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.4676, allocations: 0 / 1.38 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.4676, allocations: 0 / 1.38 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4677, allocations: 318.8 kB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.4678, allocations: 8 kB / 1.38 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.4678, allocations: 22.58 kB / 1.38 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.4678, allocations: 11.92 kB / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4678, allocations: 0 / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001228/0.468, allocations: 49.55 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.468, allocations: 13.66 kB / 1.38 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.468, allocations: 0 / 1.38 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.468, allocations: 0 / 1.38 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.4681, allocations: 7.984 kB / 1.38 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4681, allocations: 4 kB / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.4682, allocations: 0 / 1.38 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4682, allocations: 4 kB / 1.38 GB, free: 0.6602 MB / 0.8698 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 () * Number of clocked 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 0.0001068/0.4683, allocations: 197 kB / 1.38 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.4684, allocations: 112.9 kB / 1.381 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.4685, allocations: 111.9 kB / 1.381 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/0.4685, allocations: 180.5 kB / 1.381 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.134e-05/0.4686, allocations: 180.2 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.4687, allocations: 180.3 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4689, allocations: 417.1 kB / 1.382 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-05/0.469, allocations: 101 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.469, allocations: 105 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.798e-05/0.4691, allocations: 188.1 kB / 1.382 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.4692, allocations: 180.3 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.924e-05/0.4693, allocations: 180.2 kB / 1.382 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.545e-05/0.4693, allocations: 180.3 kB / 1.382 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.4695, allocations: 307.8 kB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.4696, allocations: 186 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.4696, allocations: 180.2 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.4697, allocations: 108.9 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.4698, allocations: 181.1 kB / 1.383 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.4698, allocations: 112.9 kB / 1.383 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.4699, allocations: 83.28 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4699, allocations: 0 / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003671/0.4703, allocations: 63.97 kB / 1.384 GB, free: 12.98 MB / 0.8855 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 (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.0009153/0.4712, allocations: 0.9994 MB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.4713, allocations: 8 kB / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4713, allocations: 0 / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4713, allocations: 0 / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.4716, allocations: 0.5226 MB / 1.385 GB, free: 11.45 MB / 0.8855 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.4723, allocations: 0.725 MB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.4726, allocations: 0.6731 MB / 1.386 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.4726, allocations: 3.984 kB / 1.386 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.4726, allocations: 15.38 kB / 1.386 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.4727, allocations: 0 / 1.386 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4473/0.9199, allocations: 2.235 MB / 1.389 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/0.9203, allocations: 254.9 kB / 1.389 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.452, allocations: 0 / 1.389 GB, free: 7.562 MB / 0.8855 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