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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006473/0.006473, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00144/0.001439, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 278.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 99.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002503/0.1733, allocations: 1.237 MB / 0.7671 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1749, allocations: 1.004 MB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1749, allocations: 11.88 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.175, allocations: 0 / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.1755, allocations: 111.5 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.1756, allocations: 0 / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.1756, allocations: 4 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1757, allocations: 4 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.1757, allocations: 0 / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1758, allocations: 7.984 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.1758, allocations: 0 / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.1761, allocations: 119.8 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-06/0.1761, allocations: 4 kB / 0.7684 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1761, allocations: 4 kB / 0.7684 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1763, allocations: 107.7 kB / 0.7685 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1763, allocations: 0 / 0.7685 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1763, allocations: 4 kB / 0.7685 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1764, allocations: 0 / 0.7685 GB, free: 6.316 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.0003251/0.1767, allocations: 351.4 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1767, allocations: 12.03 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.1768, allocations: 106 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1769, allocations: 80.22 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.177, allocations: 243.7 kB / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.1771, allocations: 150.9 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.1771, allocations: 150.9 kB / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.73e-05/0.1772, allocations: 120.8 kB / 0.7696 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.1772, allocations: 75.28 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1773, allocations: 154.6 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/0.1773, allocations: 150.6 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.1774, allocations: 150.6 kB / 0.7701 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1777, allocations: 442 kB / 0.7705 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.883e-05/0.1778, allocations: 177.1 kB / 0.7707 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1779, allocations: 80.14 kB / 0.7708 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1779, allocations: 79.22 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.178, allocations: 109.8 kB / 0.771 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.178, allocations: 0 / 0.771 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.28e-05/0.1781, allocations: 37.7 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.1781, allocations: 130.7 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.1782, allocations: 93.8 kB / 0.7712 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1783, allocations: 29.7 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.1783, allocations: 80.14 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.1783, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.1783, allocations: 9.719 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1784, allocations: 322.8 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.1785, allocations: 4.125 kB / 0.7717 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.1785, allocations: 0 / 0.7717 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.1785, allocations: 79.28 kB / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.506e-05/0.1785, allocations: 75.28 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.95e-05/0.1786, allocations: 33.58 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.1787, allocations: 83.28 kB / 0.7719 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.1787, allocations: 79.22 kB / 0.772 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.409e-05/0.1788, allocations: 150.6 kB / 0.7721 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.582e-05/0.1788, allocations: 83.22 kB / 0.7722 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.938e-05/0.1788, allocations: 154.6 kB / 0.7724 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.1789, allocations: 83.27 kB / 0.7724 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.179, allocations: 79.22 kB / 0.7725 GB, free: 1.918 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 0.000111/0.1791, allocations: 257.1 kB / 0.7728 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.1792, allocations: 112.9 kB / 0.7729 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.1792, allocations: 108 kB / 0.773 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/0.1793, allocations: 184.3 kB / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.1794, allocations: 180.3 kB / 0.7733 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-05/0.1794, allocations: 184.2 kB / 0.7735 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1796, allocations: 401.2 kB / 0.7739 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/0.1797, allocations: 108.9 kB / 0.774 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.1797, allocations: 109 kB / 0.7741 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.487e-05/0.1798, allocations: 180.3 kB / 0.7743 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3519/0.5317, allocations: 179.8 kB / 0.7744 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.5318, allocations: 176.3 kB / 0.7746 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.798e-05/0.5318, allocations: 180.8 kB / 0.7748 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.5319, allocations: 306.5 kB / 0.7751 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.532, allocations: 181.8 kB / 0.7752 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.532, allocations: 189.7 kB / 0.7754 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.5321, allocations: 102.4 kB / 0.7755 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.5321, allocations: 178.1 kB / 0.7757 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.5321, allocations: 111 kB / 0.7758 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.5322, allocations: 84.55 kB / 0.7759 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5322, allocations: 0 / 0.7759 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004261/0.5326, allocations: 36.97 kB / 0.7759 GB, free: 13.76 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.0006487/0.5333, allocations: 0.9509 MB / 0.7768 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.881e-05/0.5334, allocations: 2.531 kB / 0.7768 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5334, allocations: 0 / 0.7768 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.5334, allocations: 0.5312 kB / 0.7768 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.5336, allocations: 455.9 kB / 0.7773 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.5345, allocations: 1.559 MB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.42e-05/0.5346, allocations: 0.6713 MB / 0.7794 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.5346, allocations: 0.5156 kB / 0.7794 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.5346, allocations: 11.83 kB / 0.7795 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5346, allocations: 3.844 kB / 0.7795 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.5547, allocations: 1.911 MB / 0.7813 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.028, allocations: 9.234 kB / 0.7813 GB, free: 9.891 MB / 0.5606 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/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)