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.6931/0.6931, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009795/0.0009796, allocations: 181.4 kB / 187.3 MB, free: 11.89 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.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0008534/0.0008534, allocations: 100.2 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 283.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.185e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3702, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.4753, allocations: 109.4 MB / 0.8713 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4755, allocations: 91.62 kB / 0.8713 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005873/0.4814, allocations: 2.511 MB / 0.8738 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4814, allocations: 0 / 0.8738 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4814, allocations: 0 / 0.8738 GB, free: 12.48 MB / 0.5417 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.000258/0.4817, allocations: 354 kB / 0.8741 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4817, allocations: 8.031 kB / 0.8741 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.4818, allocations: 109.8 kB / 0.8742 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.4819, allocations: 75.28 kB / 0.8743 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.482, allocations: 238.3 kB / 0.8745 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.4821, allocations: 163 kB / 0.8747 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.4821, allocations: 157.8 kB / 0.8749 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/0.4822, allocations: 101 kB / 0.8749 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.4823, allocations: 79.28 kB / 0.875 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.4823, allocations: 150.6 kB / 0.8752 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.4824, allocations: 154.6 kB / 0.8753 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.4824, allocations: 154.5 kB / 0.8755 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.4827, allocations: 442 kB / 0.8759 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.4828, allocations: 173.1 kB / 0.876 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.4828, allocations: 80.14 kB / 0.8761 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.4828, allocations: 83.27 kB / 0.8762 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.4829, allocations: 106.8 kB / 0.8763 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.4829, allocations: 3.938 kB / 0.8763 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.676e-05/0.483, allocations: 29.64 kB / 0.8763 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.483, allocations: 134.7 kB / 0.8765 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.4831, allocations: 89 kB / 0.8766 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4832, allocations: 25.7 kB / 0.8766 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.4832, allocations: 80.14 kB / 0.8767 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4832, allocations: 4 kB / 0.8767 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.4832, allocations: 0 / 0.8767 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4833, allocations: 310.8 kB / 0.877 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-06/0.4833, allocations: 0 / 0.877 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-06/0.4833, allocations: 0 / 0.877 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.4834, allocations: 79.27 kB / 0.877 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.4834, allocations: 79.41 kB / 0.8771 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.109e-05/0.4835, allocations: 37.59 kB / 0.8771 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.4835, allocations: 84.69 kB / 0.8772 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.4835, allocations: 79.28 kB / 0.8773 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.307e-05/0.4836, allocations: 158.5 kB / 0.8774 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.4836, allocations: 75.28 kB / 0.8775 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.376e-05/0.4837, allocations: 150.6 kB / 0.8777 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.4838, allocations: 87.16 kB / 0.8777 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.4838, allocations: 83.27 kB / 0.8778 GB, free: 8.121 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 0.0001012/0.4839, allocations: 251.5 kB / 0.8781 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.484, allocations: 112.9 kB / 0.8782 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.484, allocations: 104.1 kB / 0.8783 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/0.4841, allocations: 184.3 kB / 0.8784 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-05/0.4842, allocations: 184.2 kB / 0.8786 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/0.4842, allocations: 176.3 kB / 0.8788 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.4844, allocations: 405.2 kB / 0.8792 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/0.4845, allocations: 101 kB / 0.8793 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.4845, allocations: 105 kB / 0.8794 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/0.4846, allocations: 185.4 kB / 0.8796 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.4846, allocations: 184.2 kB / 0.8797 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.4847, allocations: 184.2 kB / 0.8799 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-05/0.4848, allocations: 180.3 kB / 0.8801 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4849, allocations: 307.8 kB / 0.8804 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.4849, allocations: 182.1 kB / 0.8805 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.485, allocations: 192.1 kB / 0.8807 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.4851, allocations: 104.9 kB / 0.8808 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.4852, allocations: 176.7 kB / 0.881 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4852, allocations: 104.9 kB / 0.8811 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.4852, allocations: 83.28 kB / 0.8812 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4852, allocations: 0 / 0.8812 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003116/0.4856, allocations: 55.97 kB / 0.8812 GB, free: 4.418 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.000747/0.4863, allocations: 0.9673 MB / 0.8822 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 2.994e-05/0.4863, allocations: 0 / 0.8822 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4864, allocations: 0 / 0.8822 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4864, allocations: 0 / 0.8822 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.4866, allocations: 0.5307 MB / 0.8827 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.487, allocations: 193.8 kB / 0.8829 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.4872, allocations: 0.677 MB / 0.8835 GB, free: 2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.765e-06/0.4872, allocations: 0 / 0.8835 GB, free: 2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.4873, allocations: 7.438 kB / 0.8835 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.4873, allocations: 0 / 0.8835 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.502, allocations: 1.659 MB / 0.8852 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.5022, allocations: 238.3 kB / 0.8854 GB, free: 244 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.299/1.802, allocations: 0 / 0.8854 GB, free: 244 kB / 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)