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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001118/0.001118, allocations: 187.7 kB / 182.2 MB, free: 9.465 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.469/1.469, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008521/0.0008521, allocations: 96.05 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 283.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.669e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5601, allocations: 108.8 MB / 0.8636 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5604, allocations: 87.83 kB / 0.8637 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005866/0.5662, allocations: 2.403 MB / 0.866 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5663, allocations: 0 / 0.866 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5663, allocations: 0 / 0.866 GB, free: 0.6133 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.0002588/0.5665, allocations: 350.4 kB / 0.8664 GB, free: 232 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5666, allocations: 8.031 kB / 0.8664 GB, free: 224 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.5666, allocations: 79.28 kB / 0.8665 GB, free: 144 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.5668, allocations: 238.3 kB / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.5669, allocations: 154.5 kB / 0.8668 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.5669, allocations: 150.6 kB / 0.867 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.188e-05/0.567, allocations: 154.6 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.504e-05/0.5671, allocations: 105 kB / 0.8672 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5671, allocations: 75.28 kB / 0.8673 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.5671, allocations: 158.5 kB / 0.8674 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.5672, allocations: 150.6 kB / 0.8676 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.5674, allocations: 426.5 kB / 0.868 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.5675, allocations: 165.1 kB / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.5676, allocations: 84.14 kB / 0.8682 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.5676, allocations: 83.27 kB / 0.8683 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.5677, allocations: 109.8 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5677, allocations: 4 kB / 0.8684 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.574e-05/0.5678, allocations: 33.58 kB / 0.8685 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.5678, allocations: 52.39 kB / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.5679, allocations: 89 kB / 0.8686 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.5679, allocations: 25.7 kB / 0.8686 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5679, allocations: 80.14 kB / 0.8687 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.5679, allocations: 0 / 0.8687 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.5679, allocations: 0 / 0.8687 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5681, allocations: 327 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.5681, allocations: 0 / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.5681, allocations: 0 / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.5681, allocations: 75.28 kB / 0.8691 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.5681, allocations: 75.28 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.698e-05/0.5682, allocations: 29.7 kB / 0.8692 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.5682, allocations: 80.53 kB / 0.8693 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.5683, allocations: 79.22 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.66e-05/0.5683, allocations: 162.5 kB / 0.8695 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.256e-05/0.5684, allocations: 75.28 kB / 0.8696 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/0.5684, allocations: 166.4 kB / 0.8697 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.5685, allocations: 75.28 kB / 0.8698 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5685, allocations: 75.28 kB / 0.8699 GB, free: 12.49 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.00011/0.5686, allocations: 264 kB / 0.8701 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.5687, allocations: 105 kB / 0.8702 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.5687, allocations: 104.7 kB / 0.8703 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/0.5688, allocations: 184.2 kB / 0.8705 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.106e-05/0.5689, allocations: 180.2 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/0.5689, allocations: 180.3 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.5691, allocations: 381.7 kB / 0.8712 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.5692, allocations: 109 kB / 0.8713 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.5692, allocations: 101 kB / 0.8714 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/0.5693, allocations: 181.5 kB / 0.8716 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.5694, allocations: 180.2 kB / 0.8717 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-05/0.5694, allocations: 180.3 kB / 0.8719 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.498e-05/0.5695, allocations: 184.2 kB / 0.8721 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.5696, allocations: 307.8 kB / 0.8724 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.5697, allocations: 186 kB / 0.8726 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.5697, allocations: 184.2 kB / 0.8727 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.5698, allocations: 105 kB / 0.8728 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.5699, allocations: 180.2 kB / 0.873 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.5699, allocations: 101.4 kB / 0.8731 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.57, allocations: 79.28 kB / 0.8732 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.57, allocations: 0 / 0.8732 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003224/0.5703, allocations: 63.86 kB / 0.8732 GB, free: 8.816 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.0004938/0.5708, allocations: 342.5 kB / 0.8736 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 2.778e-05/0.5708, allocations: 3.938 kB / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5708, allocations: 0 / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5708, allocations: 0 / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.5711, allocations: 0.5269 MB / 0.8741 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001579/0.5713, allocations: 119.3 kB / 0.8742 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.5715, allocations: 0.6729 MB / 0.8749 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.5715, allocations: 3.938 kB / 0.8749 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.5715, allocations: 7.438 kB / 0.8749 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5715, allocations: 0 / 0.8749 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of Templates: time 0.002803/0.5743, allocations: 0.9661 MB / 0.8758 GB, free: 6.184 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)