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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004405/0.004405, allocations: 99.64 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 193.5 kB / 16.67 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 271 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9067/0.9067, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 91.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1429, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001889/0.1448, allocations: 1.239 MB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1461, allocations: 1.004 MB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1462, allocations: 0 / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.1462, allocations: 0 / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1466, allocations: 115.5 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.53e-06/0.1466, allocations: 4 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.1466, allocations: 3.938 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.1467, allocations: 4 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.1467, allocations: 3.984 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.1468, allocations: 9.203 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.1468, allocations: 0 / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.147, allocations: 119.8 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-06/0.147, allocations: 0 / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.1471, allocations: 7.984 kB / 0.7688 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1472, allocations: 103.8 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1473, allocations: 0 / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1473, allocations: 4 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1473, allocations: 0 / 0.7689 GB, free: 5.801 MB / 0.5606 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.0003008/0.1476, allocations: 355.4 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.1476, allocations: 8.031 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1477, allocations: 84.12 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1478, allocations: 235.7 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.1479, allocations: 150.9 kB / 0.7697 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1479, allocations: 158.9 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.23e-05/0.148, allocations: 113.1 kB / 0.77 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.148, allocations: 79.22 kB / 0.7701 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.148, allocations: 154.6 kB / 0.7702 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.1481, allocations: 154.5 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.1481, allocations: 154.6 kB / 0.7705 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1484, allocations: 442 kB / 0.7709 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.21e-05/0.1485, allocations: 169.1 kB / 0.7711 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.1485, allocations: 88.08 kB / 0.7712 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1485, allocations: 79.28 kB / 0.7713 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1486, allocations: 109.8 kB / 0.7714 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1486, allocations: 0 / 0.7714 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.659e-05/0.1487, allocations: 33.69 kB / 0.7714 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1487, allocations: 126.7 kB / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.1488, allocations: 97.86 kB / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1488, allocations: 25.7 kB / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.1488, allocations: 84.27 kB / 0.7717 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.52e-07/0.1488, allocations: 0 / 0.7717 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1489, allocations: 13.72 kB / 0.7717 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.149, allocations: 310.8 kB / 0.772 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.149, allocations: 3.938 kB / 0.772 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-06/0.149, allocations: 0 / 0.772 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.149, allocations: 79.22 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.149, allocations: 75.28 kB / 0.7722 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.313e-05/0.1491, allocations: 45.62 kB / 0.7722 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1491, allocations: 81.47 kB / 0.7723 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.1492, allocations: 79.22 kB / 0.7724 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.595e-05/0.1492, allocations: 154.6 kB / 0.7725 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.1493, allocations: 75.28 kB / 0.7726 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.055e-05/0.1493, allocations: 158.4 kB / 0.7727 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.1494, allocations: 79.28 kB / 0.7728 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1494, allocations: 87.2 kB / 0.7729 GB, free: 1.508 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.1495, allocations: 261.1 kB / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.1496, allocations: 104.9 kB / 0.7732 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1496, allocations: 108.1 kB / 0.7733 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.489e-05/0.1497, allocations: 184.2 kB / 0.7735 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.468e-05/0.1497, allocations: 184.2 kB / 0.7737 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.1498, allocations: 180.2 kB / 0.7739 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.15, allocations: 401.2 kB / 0.7743 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.2891/0.4391, allocations: 101 kB / 0.7743 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.4392, allocations: 108.5 kB / 0.7745 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/0.4392, allocations: 178.1 kB / 0.7746 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.4392, allocations: 181.9 kB / 0.7748 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/0.4393, allocations: 181.7 kB / 0.775 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/0.4393, allocations: 182.2 kB / 0.7751 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.085e-05/0.4394, allocations: 308.5 kB / 0.7754 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.4394, allocations: 185.2 kB / 0.7756 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.4395, allocations: 180.4 kB / 0.7758 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.4396, allocations: 106.5 kB / 0.7759 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4396, allocations: 178.5 kB / 0.7761 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.4396, allocations: 110.4 kB / 0.7762 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.4397, allocations: 79.58 kB / 0.7762 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4397, allocations: 1.125 kB / 0.7762 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004049/0.4401, allocations: 41.17 kB / 0.7763 GB, free: 13.41 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004754/0.4406, allocations: 318.8 kB / 0.7766 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.95e-05/0.4406, allocations: 2.094 kB / 0.7766 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4406, allocations: 0.6562 kB / 0.7766 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.4406, allocations: 1.531 kB / 0.7766 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4409, allocations: 459.8 kB / 0.777 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.4411, allocations: 156.4 kB / 0.7772 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.162e-05/0.4412, allocations: 0.6725 MB / 0.7778 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.248e-06/0.4412, allocations: 1.203 kB / 0.7778 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.4412, allocations: 7.938 kB / 0.7778 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.4413, allocations: 0 / 0.7778 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.003259/0.4445, allocations: 1.001 MB / 0.7788 GB, free: 11.87 MB / 0.5606 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)