Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.227/2.227, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001/0.001, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.512/1.512, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008568/0.0008571, allocations: 95.88 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.005e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2525, allocations: 142.3 MB / 1.212 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8706/1.123, allocations: 150.1 MB / 1.359 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.123, allocations: 86.53 kB / 1.359 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006428/1.13, allocations: 2.511 MB / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.464e-06/1.13, allocations: 2.344 kB / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.13, allocations: 0 / 1.362 GB, free: 34.59 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.0001841/1.13, allocations: 354.3 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.13, allocations: 11.62 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/1.13, allocations: 105.8 kB / 1.362 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/1.13, allocations: 79.22 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.13, allocations: 239.9 kB / 1.362 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/1.13, allocations: 156.2 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/1.131, allocations: 158.5 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.388e-05/1.131, allocations: 104.9 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.131, allocations: 75.28 kB / 1.363 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/1.131, allocations: 150.6 kB / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.131, allocations: 150.6 kB / 1.363 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/1.131, allocations: 150.6 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.131, allocations: 455.1 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/1.131, allocations: 174.8 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/1.131, allocations: 80.14 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/1.131, allocations: 75.28 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.131, allocations: 116.3 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/1.131, allocations: 0 / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.358e-05/1.131, allocations: 31.89 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/1.131, allocations: 130.6 kB / 1.364 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/1.131, allocations: 88.84 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/1.131, allocations: 27.44 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/1.131, allocations: 84.2 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/1.131, allocations: 4 kB / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.131, allocations: 0 / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/1.131, allocations: 310.8 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-06/1.131, allocations: 0 / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/1.131, allocations: 0 / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/1.131, allocations: 79.23 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.131, allocations: 79.09 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.504e-05/1.132, allocations: 27.06 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.132, allocations: 87 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.132, allocations: 84.72 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/1.132, allocations: 151.2 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.777e-05/1.132, allocations: 79.22 kB / 1.365 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.449e-05/1.132, allocations: 159.5 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/1.132, allocations: 75.28 kB / 1.366 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/1.132, allocations: 83.22 kB / 1.366 GB, free: 30.32 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.959e-05/1.132, allocations: 257.3 kB / 1.366 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/1.132, allocations: 110.4 kB / 1.366 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/1.132, allocations: 116.6 kB / 1.366 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/1.132, allocations: 176.3 kB / 1.366 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/1.132, allocations: 178.3 kB / 1.366 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-05/1.132, allocations: 188.1 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/1.132, allocations: 397.7 kB / 1.367 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.073e-05/1.132, allocations: 114.6 kB / 1.367 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/1.132, allocations: 104.8 kB / 1.367 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-05/1.132, allocations: 178 kB / 1.367 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/1.132, allocations: 184.2 kB / 1.368 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.063e-05/1.133, allocations: 180.4 kB / 1.368 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.681e-05/1.133, allocations: 189.2 kB / 1.368 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.99e-05/1.133, allocations: 303.6 kB / 1.368 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/1.133, allocations: 187.5 kB / 1.368 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/1.133, allocations: 178 kB / 1.368 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/1.133, allocations: 108.6 kB / 1.369 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/1.133, allocations: 182.2 kB / 1.369 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.133, allocations: 104.9 kB / 1.369 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.166e-05/1.133, allocations: 79.09 kB / 1.369 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.133, allocations: 8.031 kB / 1.369 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003021/1.133, allocations: 57.25 kB / 1.369 GB, free: 26.7 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.0006521/1.134, allocations: 0.9586 MB / 1.37 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.805e-05/1.134, allocations: 7.75 kB / 1.37 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.134, allocations: 4 kB / 1.37 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/1.134, allocations: 3.938 kB / 1.37 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.134, allocations: 0.519 MB / 1.37 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/1.135, allocations: 182.6 kB / 1.371 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.135, allocations: 0.6743 MB / 1.371 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.846e-06/1.135, allocations: 5.594 kB / 1.371 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/1.135, allocations: 7.438 kB / 1.371 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.135, allocations: 0 / 1.371 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/1.148, allocations: 1.643 MB / 1.373 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/1.148, allocations: 219.9 kB / 1.373 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.655, allocations: 1.562 kB / 1.373 GB, free: 23.97 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat