Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7675/0.7675, allocations: 141.8 MB / 149.3 MB, free: 9.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 180.9 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 94.34 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001649, allocations: 274.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.081e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5742, allocations: 108.8 MB / 0.8637 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5745, allocations: 87.94 kB / 0.8638 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006121/0.5806, allocations: 2.401 MB / 0.8661 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5806, allocations: 0 / 0.8661 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5806, allocations: 3.938 kB / 0.8661 GB, free: 0.582 MB / 0.5261 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.0002451/0.5809, allocations: 350.5 kB / 0.8665 GB, free: 200 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5809, allocations: 12.03 kB / 0.8665 GB, free: 188 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.581, allocations: 75.28 kB / 0.8666 GB, free: 112 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.5812, allocations: 239 kB / 0.8668 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.5812, allocations: 165.7 kB / 0.8669 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.5813, allocations: 154.6 kB / 0.8671 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.806e-05/0.5814, allocations: 154.6 kB / 0.8672 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.639e-05/0.5814, allocations: 101 kB / 0.8673 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.5815, allocations: 79.28 kB / 0.8674 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/0.5815, allocations: 150.6 kB / 0.8676 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.5815, allocations: 150.6 kB / 0.8677 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.5818, allocations: 426.5 kB / 0.8681 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.5819, allocations: 177.1 kB / 0.8683 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.5819, allocations: 80.14 kB / 0.8684 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.5819, allocations: 75.28 kB / 0.8684 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.582, allocations: 109.8 kB / 0.8685 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.582, allocations: 0 / 0.8685 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.672e-05/0.5821, allocations: 29.64 kB / 0.8686 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5821, allocations: 52.39 kB / 0.8686 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.5822, allocations: 100.9 kB / 0.8687 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.5822, allocations: 25.7 kB / 0.8687 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.5822, allocations: 80.14 kB / 0.8688 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-06/0.5822, allocations: 0 / 0.8688 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.5823, allocations: 0 / 0.8688 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5824, allocations: 318.8 kB / 0.8691 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-06/0.5824, allocations: 0 / 0.8691 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/0.5824, allocations: 0 / 0.8691 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.5824, allocations: 79.41 kB / 0.8692 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/0.5825, allocations: 75.28 kB / 0.8693 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.764e-05/0.5825, allocations: 29.7 kB / 0.8693 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.5826, allocations: 79.28 kB / 0.8694 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.5826, allocations: 79.22 kB / 0.8694 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.959e-05/0.5827, allocations: 158.5 kB / 0.8696 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/0.5827, allocations: 79.28 kB / 0.8697 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.353e-05/0.5827, allocations: 166.5 kB / 0.8698 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.5828, allocations: 75.28 kB / 0.8699 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.5828, allocations: 75.28 kB / 0.87 GB, free: 12.45 MB / 0.5417 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 9.396e-05/0.5829, allocations: 255.5 kB / 0.8702 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.821e-05/0.583, allocations: 130.6 kB / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.5831, allocations: 108.9 kB / 0.8704 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.5831, allocations: 116.7 kB / 0.8705 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/0.5832, allocations: 180.2 kB / 0.8707 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.773e-05/0.5833, allocations: 176.3 kB / 0.8709 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/0.5833, allocations: 184.2 kB / 0.8711 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.5835, allocations: 381.8 kB / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.5835, allocations: 106.2 kB / 0.8715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.5836, allocations: 104.9 kB / 0.8716 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/0.5837, allocations: 180.3 kB / 0.8718 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.5837, allocations: 180.2 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.5838, allocations: 188.2 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.774e-05/0.5838, allocations: 180.3 kB / 0.8723 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.584, allocations: 303.8 kB / 0.8726 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.584, allocations: 182.1 kB / 0.8728 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.5841, allocations: 184.2 kB / 0.873 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.5842, allocations: 109.4 kB / 0.8731 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.5843, allocations: 192.2 kB / 0.8732 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.5843, allocations: 105 kB / 0.8733 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.5843, allocations: 79.28 kB / 0.8734 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5843, allocations: 0 / 0.8734 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003101/0.5847, allocations: 48 kB / 0.8735 GB, free: 8.637 MB / 0.5417 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.0007528/0.5854, allocations: 0.9676 MB / 0.8744 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 2.799e-05/0.5855, allocations: 0 / 0.8744 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5855, allocations: 0 / 0.8744 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5855, allocations: 0 / 0.8744 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5857, allocations: 0.5262 MB / 0.8749 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.5861, allocations: 188.8 kB / 0.8751 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.5864, allocations: 0.669 MB / 0.8758 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.006e-05/0.5864, allocations: 4 kB / 0.8758 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.5864, allocations: 7.438 kB / 0.8758 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5864, allocations: 4 kB / 0.8758 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.6069, allocations: 1.355 MB / 0.8771 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6072, allocations: 220.6 kB / 0.8773 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/1.986, allocations: 0 / 0.8773 GB, free: 4.605 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)