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.00139/0.00139, allocations: 103.3 kB / 16.41 MB, free: 6.461 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.001687/0.001687, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 284.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 99.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5278, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00245/0.5303, allocations: 1.241 MB / 0.7683 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.532, allocations: 1.01 MB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.532, allocations: 0 / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.5321, allocations: 0 / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.5326, allocations: 111.5 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.5326, allocations: 0 / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.5326, allocations: 7.984 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.5327, allocations: 4 kB / 0.7694 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.5327, allocations: 3.938 kB / 0.7694 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.5328, allocations: 7.984 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.5329, allocations: 0 / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.5331, allocations: 127.8 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-06/0.5331, allocations: 0 / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.5331, allocations: 0 / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.5333, allocations: 107.8 kB / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5334, allocations: 0 / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5334, allocations: 0 / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5334, allocations: 0 / 0.7696 GB, free: 1.32 MB / 0.5294 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.0003637/0.5337, allocations: 351.1 kB / 0.7699 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5338, allocations: 8.031 kB / 0.77 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.5339, allocations: 76.22 kB / 0.77 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.534, allocations: 243.6 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.5341, allocations: 150.9 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.5342, allocations: 154.9 kB / 0.7706 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.366e-05/0.5342, allocations: 109.1 kB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5343, allocations: 75.28 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.5344, allocations: 158.5 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.5344, allocations: 150.6 kB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.5345, allocations: 154.5 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.5348, allocations: 449.9 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.5349, allocations: 169.1 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.5349, allocations: 80.14 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5349, allocations: 75.28 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.535, allocations: 117.7 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.535, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.67e-05/0.5351, allocations: 33.61 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.5351, allocations: 126.7 kB / 0.7722 GB, free: 14.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.5352, allocations: 101.8 kB / 0.7723 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.5353, allocations: 25.7 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.5353, allocations: 80.14 kB / 0.7724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.5353, allocations: 0 / 0.7724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.5353, allocations: 13.84 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5355, allocations: 310.8 kB / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-06/0.5355, allocations: 0 / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.5355, allocations: 4 kB / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.5355, allocations: 79.22 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.5355, allocations: 79.22 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.626e-05/0.5356, allocations: 29.64 kB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.5356, allocations: 83.28 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.5357, allocations: 87.27 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.93e-05/0.5358, allocations: 158.5 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.5358, allocations: 75.28 kB / 0.7733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-05/0.5358, allocations: 158.5 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.5359, allocations: 75.28 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5359, allocations: 75.28 kB / 0.7735 GB, free: 13.05 MB / 0.545 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 0.0001268/0.5361, allocations: 266.8 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.5361, allocations: 117 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.5362, allocations: 108.1 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.272e-05/0.5362, allocations: 180.2 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.108e-05/0.5363, allocations: 180.3 kB / 0.7744 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.5364, allocations: 180.3 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.5366, allocations: 405.2 kB / 0.7749 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.5367, allocations: 104.9 kB / 0.775 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.5367, allocations: 112.9 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.227e-05/0.5368, allocations: 180.2 kB / 0.7753 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.5369, allocations: 176.3 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.598e-05/0.5369, allocations: 192.2 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.377e-05/0.537, allocations: 184.3 kB / 0.7758 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.5371, allocations: 303.8 kB / 0.7761 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.5372, allocations: 186 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.5373, allocations: 184.2 kB / 0.7765 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.5374, allocations: 101 kB / 0.7766 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.5375, allocations: 184.2 kB / 0.7767 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.5375, allocations: 105 kB / 0.7768 GB, free: 9.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.5376, allocations: 79.28 kB / 0.7769 GB, free: 9.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5376, allocations: 0 / 0.7769 GB, free: 9.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003301/0.5379, allocations: 44.08 kB / 0.777 GB, free: 9.34 MB / 0.545 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.0005799/0.5385, allocations: 321.2 kB / 0.7773 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.069e-05/0.5386, allocations: 3.938 kB / 0.7773 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5386, allocations: 4 kB / 0.7773 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5386, allocations: 0 / 0.7773 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.539, allocations: 459.7 kB / 0.7777 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.5393, allocations: 186.6 kB / 0.7779 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.5396, allocations: 0.6729 MB / 0.7785 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.5396, allocations: 7.438 kB / 0.7785 GB, free: 7.668 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5396, allocations: 0 / 0.7785 GB, free: 7.668 MB / 0.545 GB Notification: Performance of Templates: time 0.003036/0.5426, allocations: 1.152 MB / 0.7797 GB, free: 6.516 MB / 0.545 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)