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.005268/0.005274, allocations: 99.59 kB / 15.73 MB, free: 6.039 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.00128/0.00128, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 282.3 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 1.019/1.019, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 101.4 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002443/0.1614, allocations: 1.24 MB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.163, allocations: 1.004 MB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.163, allocations: 0 / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.1631, allocations: 7.875 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.1635, allocations: 107.6 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.1635, allocations: 0 / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.1636, allocations: 7.984 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1636, allocations: 0 / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.1636, allocations: 3.938 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.1637, allocations: 4 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.1638, allocations: 4 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.164, allocations: 127.8 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-06/0.164, allocations: 0 / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.134e-05/0.164, allocations: 3.938 kB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1643, allocations: 112 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1643, allocations: 0 / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1643, allocations: 0 / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1643, allocations: 0 / 0.7685 GB, free: 6.281 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.0003697/0.1647, allocations: 347.1 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1647, allocations: 12.03 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.1648, allocations: 114 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.1649, allocations: 80.17 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.165, allocations: 243.6 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.1651, allocations: 158.9 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.1652, allocations: 150.9 kB / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.1653, allocations: 108.9 kB / 0.7696 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.1653, allocations: 83.27 kB / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.1654, allocations: 150.6 kB / 0.7699 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/0.1655, allocations: 150.6 kB / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.1655, allocations: 150.6 kB / 0.7701 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1659, allocations: 457.9 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.461e-05/0.166, allocations: 165.1 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.166, allocations: 80.14 kB / 0.7708 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.166, allocations: 79.22 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.1661, allocations: 109.8 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 3.035e-06/0.1661, allocations: 4 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.756e-05/0.1662, allocations: 37.64 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.1663, allocations: 126.7 kB / 0.7712 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.1664, allocations: 97.84 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1664, allocations: 25.7 kB / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.1664, allocations: 80.14 kB / 0.7713 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.1664, allocations: 0 / 0.7713 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.1665, allocations: 9.719 kB / 0.7714 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1666, allocations: 319 kB / 0.7717 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-06/0.1666, allocations: 4 kB / 0.7717 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.1666, allocations: 0 / 0.7717 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.1667, allocations: 75.28 kB / 0.7717 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.1667, allocations: 75.28 kB / 0.7718 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.554e-05/0.1668, allocations: 37.56 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.1668, allocations: 87.22 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.1669, allocations: 75.28 kB / 0.772 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/0.167, allocations: 154.6 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.822e-05/0.167, allocations: 79.22 kB / 0.7722 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.037e-05/0.1671, allocations: 158.6 kB / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.1672, allocations: 79.22 kB / 0.7724 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1672, allocations: 79.22 kB / 0.7725 GB, free: 1.879 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.0001273/0.1673, allocations: 269 kB / 0.7728 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.1674, allocations: 104.9 kB / 0.7729 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.1675, allocations: 108 kB / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-05/0.1675, allocations: 184.3 kB / 0.7732 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-05/0.1676, allocations: 184.2 kB / 0.7733 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.15e-05/0.1677, allocations: 180.2 kB / 0.7735 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.168, allocations: 401.2 kB / 0.7739 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.814e-05/0.168, allocations: 108.9 kB / 0.774 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1681, allocations: 109 kB / 0.7741 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3007/0.4688, allocations: 180.2 kB / 0.7743 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.4689, allocations: 176.3 kB / 0.7744 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/0.4689, allocations: 179.8 kB / 0.7746 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-05/0.4689, allocations: 178.5 kB / 0.7748 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.469, allocations: 304.3 kB / 0.7751 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.469, allocations: 187.8 kB / 0.7752 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.4691, allocations: 180 kB / 0.7754 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.4692, allocations: 105.6 kB / 0.7755 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4692, allocations: 183.2 kB / 0.7757 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4692, allocations: 108.8 kB / 0.7758 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.4693, allocations: 84.97 kB / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4693, allocations: 0 / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000414/0.4697, allocations: 36.69 kB / 0.7759 GB, free: 13.62 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.0006969/0.4704, allocations: 0.9594 MB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.085e-05/0.4704, allocations: 2.562 kB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4705, allocations: 0.5938 kB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.4705, allocations: 1.188 kB / 0.7769 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4707, allocations: 455.1 kB / 0.7773 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.4715, allocations: 1.56 MB / 0.7788 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.331e-05/0.4716, allocations: 0.6723 MB / 0.7795 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.859e-06/0.4716, allocations: 0.5156 kB / 0.7795 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.4717, allocations: 10.12 kB / 0.7795 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.4717, allocations: 1.719 kB / 0.7795 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.4965, allocations: 1.906 MB / 0.7813 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.215, allocations: 12.2 kB / 0.7814 GB, free: 9.754 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)