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.8194/0.8194, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001078/0.001078, allocations: 179.8 kB / 182.2 MB, free: 9.473 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.396/1.396, 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.001007/0.001007, allocations: 94.42 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 282.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.833e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5365, allocations: 108.8 MB / 0.8636 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5368, allocations: 83.83 kB / 0.8637 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006583/0.5434, allocations: 2.396 MB / 0.866 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5434, allocations: 4 kB / 0.866 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5434, allocations: 0 / 0.866 GB, free: 0.625 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.0003172/0.5438, allocations: 342.4 kB / 0.8664 GB, free: 252 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5438, allocations: 12.03 kB / 0.8664 GB, free: 240 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.5439, allocations: 79.28 kB / 0.8664 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.5441, allocations: 238.3 kB / 0.8667 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.5441, allocations: 158.5 kB / 0.8668 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.5442, allocations: 154.6 kB / 0.867 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.066e-05/0.5443, allocations: 154.6 kB / 0.8671 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.438e-05/0.5443, allocations: 104.9 kB / 0.8672 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.5444, allocations: 75.28 kB / 0.8673 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.5444, allocations: 150.6 kB / 0.8674 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.5445, allocations: 154.6 kB / 0.8676 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.5447, allocations: 422.5 kB / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.5448, allocations: 169.1 kB / 0.8681 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.5449, allocations: 84.12 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.5449, allocations: 75.28 kB / 0.8683 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.545, allocations: 117.7 kB / 0.8684 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.545, allocations: 3.938 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.957e-05/0.5451, allocations: 25.7 kB / 0.8684 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.5451, allocations: 52.39 kB / 0.8685 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.5452, allocations: 96.94 kB / 0.8686 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.5452, allocations: 25.7 kB / 0.8686 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.5453, allocations: 80.27 kB / 0.8687 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.5453, allocations: 4 kB / 0.8687 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.5453, allocations: 4 kB / 0.8687 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5454, allocations: 310.8 kB / 0.869 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.5454, allocations: 0 / 0.869 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-06/0.5454, allocations: 0 / 0.869 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.5455, allocations: 79.27 kB / 0.8691 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.5455, allocations: 75.28 kB / 0.8691 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.584e-05/0.5455, allocations: 33.64 kB / 0.8692 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.5456, allocations: 83.28 kB / 0.8692 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.5456, allocations: 75.28 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-05/0.5457, allocations: 158.5 kB / 0.8695 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.5457, allocations: 87.22 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.615e-05/0.5458, allocations: 150.6 kB / 0.8697 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.5459, allocations: 79.27 kB / 0.8698 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5459, allocations: 83.22 kB / 0.8698 GB, free: 12.5 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.237e-05/0.546, allocations: 255.5 kB / 0.8701 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.546, allocations: 101 kB / 0.8702 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.5461, allocations: 104.7 kB / 0.8703 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.907e-05/0.5462, allocations: 184.2 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.39e-05/0.5462, allocations: 188.2 kB / 0.8706 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/0.5463, allocations: 184.2 kB / 0.8708 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.5465, allocations: 377.7 kB / 0.8712 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.5465, allocations: 101 kB / 0.8713 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.5466, allocations: 109 kB / 0.8714 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/0.5466, allocations: 181.5 kB / 0.8716 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.5467, allocations: 180.3 kB / 0.8717 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-05/0.5468, allocations: 176.3 kB / 0.8719 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-05/0.5468, allocations: 184.2 kB / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.5469, allocations: 307.8 kB / 0.8724 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.547, allocations: 190 kB / 0.8725 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.5471, allocations: 176.3 kB / 0.8727 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.5472, allocations: 109 kB / 0.8728 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.5472, allocations: 184.2 kB / 0.873 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.5473, allocations: 109.4 kB / 0.8731 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.5473, allocations: 75.28 kB / 0.8732 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5473, allocations: 4.094 kB / 0.8732 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003298/0.5476, allocations: 59.86 kB / 0.8732 GB, free: 8.824 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.0005533/0.5482, allocations: 338.2 kB / 0.8735 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.667e-05/0.5483, allocations: 3.938 kB / 0.8736 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5483, allocations: 0 / 0.8736 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.5483, allocations: 4 kB / 0.8736 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5485, allocations: 0.5224 MB / 0.8741 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.5487, allocations: 123.3 kB / 0.8742 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5489, allocations: 0.6729 MB / 0.8748 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.218e-06/0.5489, allocations: 0 / 0.8748 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/0.5489, allocations: 11.44 kB / 0.8749 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5489, allocations: 0 / 0.8749 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of Templates: time 0.002819/0.5518, allocations: 0.9726 MB / 0.8758 GB, free: 6.188 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)