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.004472/0.004472, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001222/0.001222, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 278.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00349/0.003491, allocations: 99.83 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.45, allocations: 89.14 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002272/0.4523, allocations: 1.237 MB / 0.7826 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.4538, allocations: 1.021 MB / 0.7835 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4539, allocations: 0 / 0.7835 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.4539, allocations: 0 / 0.7835 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.4543, allocations: 110.8 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.4543, allocations: 1.562 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.449e-05/0.4544, allocations: 1.656 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.4544, allocations: 2.5 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.4544, allocations: 3.938 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.4545, allocations: 3.5 kB / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.4545, allocations: 0 / 0.7837 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.4548, allocations: 125.5 kB / 0.7838 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-06/0.4548, allocations: 4 kB / 0.7838 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.101e-05/0.4548, allocations: 1.281 kB / 0.7838 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.455, allocations: 112.3 kB / 0.7839 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.455, allocations: 1.562 kB / 0.7839 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.455, allocations: 0 / 0.7839 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.455, allocations: 0 / 0.7839 GB, free: 12.37 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.0003587/0.4554, allocations: 343.3 kB / 0.7842 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4554, allocations: 10.09 kB / 0.7842 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.4555, allocations: 106.7 kB / 0.7843 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.4556, allocations: 89.66 kB / 0.7844 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4558, allocations: 241.3 kB / 0.7847 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.4559, allocations: 152.7 kB / 0.7848 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.4559, allocations: 150.9 kB / 0.7849 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.456, allocations: 109.8 kB / 0.785 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.456, allocations: 84.67 kB / 0.7851 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.4561, allocations: 150.6 kB / 0.7853 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.4562, allocations: 151.8 kB / 0.7854 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.4563, allocations: 151.2 kB / 0.7856 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.4566, allocations: 445.4 kB / 0.786 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/0.4567, allocations: 170.5 kB / 0.7861 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.4567, allocations: 84.08 kB / 0.7862 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.4568, allocations: 80.73 kB / 0.7863 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.4568, allocations: 110.4 kB / 0.7864 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4568, allocations: 1 kB / 0.7864 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.763e-05/0.4569, allocations: 31.19 kB / 0.7864 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.457, allocations: 131.2 kB / 0.7866 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.4571, allocations: 94.81 kB / 0.7867 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4571, allocations: 25.7 kB / 0.7867 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.4572, allocations: 81.81 kB / 0.7868 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-06/0.4572, allocations: 0 / 0.7868 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4572, allocations: 11.78 kB / 0.7868 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4573, allocations: 321.1 kB / 0.7871 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-06/0.4574, allocations: 3.938 kB / 0.7871 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.4574, allocations: 0 / 0.7871 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.4574, allocations: 75.28 kB / 0.7872 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/0.4574, allocations: 77.39 kB / 0.7872 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.298e-05/0.4575, allocations: 31.64 kB / 0.7873 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.4575, allocations: 82.97 kB / 0.7873 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/0.4576, allocations: 77.23 kB / 0.7874 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-05/0.4577, allocations: 163.1 kB / 0.7876 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.137e-05/0.4577, allocations: 77.19 kB / 0.7876 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.721e-05/0.4578, allocations: 156.4 kB / 0.7878 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.4579, allocations: 79.84 kB / 0.7879 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4579, allocations: 76.81 kB / 0.7879 GB, free: 8.059 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.0001422/0.4581, allocations: 266.9 kB / 0.7882 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.4582, allocations: 107.1 kB / 0.7883 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.4582, allocations: 110.5 kB / 0.7884 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/0.4583, allocations: 182.2 kB / 0.7886 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/0.4584, allocations: 180.8 kB / 0.7887 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.171e-05/0.4585, allocations: 186.8 kB / 0.7889 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.4588, allocations: 400.7 kB / 0.7893 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.987e-05/0.4588, allocations: 111.1 kB / 0.7894 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.4589, allocations: 110.8 kB / 0.7895 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.533e-05/0.4589, allocations: 178.2 kB / 0.7897 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/0.459, allocations: 180.9 kB / 0.7899 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.649e-05/0.4591, allocations: 178.2 kB / 0.79 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.067e-05/0.4592, allocations: 186.4 kB / 0.7902 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.4594, allocations: 306 kB / 0.7905 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.4595, allocations: 187.3 kB / 0.7907 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.4596, allocations: 177.9 kB / 0.7908 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.4597, allocations: 106.9 kB / 0.791 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.4598, allocations: 183.1 kB / 0.7911 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.4598, allocations: 105.9 kB / 0.7912 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.4599, allocations: 78.11 kB / 0.7913 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4599, allocations: 0 / 0.7913 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003363/0.4602, allocations: 39.36 kB / 0.7913 GB, free: 4.422 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.000886/0.4611, allocations: 0.9623 MB / 0.7923 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.282e-05/0.4612, allocations: 8.844 kB / 0.7923 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4612, allocations: 1.438 kB / 0.7923 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4612, allocations: 0 / 0.7923 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.4616, allocations: 463.4 kB / 0.7927 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4629, allocations: 1.551 MB / 0.7942 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4632, allocations: 0.6718 MB / 0.7949 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.847e-06/0.4632, allocations: 0 / 0.7949 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.4632, allocations: 9.406 kB / 0.7949 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.4632, allocations: 0 / 0.7949 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.4865, allocations: 1.904 MB / 0.7968 GB, free: 380 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.048, allocations: 12.11 kB / 0.7968 GB, free: 376 kB / 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)