Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001094/0.001094, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001688/0.001688, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.124/1.124, allocations: 143.4 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2182, allocations: 83.42 MB / 0.5975 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001852/0.2201, allocations: 0.9596 MB / 0.5985 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.222, allocations: 0.9529 MB / 0.5994 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.2221, allocations: 4 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.2221, allocations: 0 / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.2227, allocations: 79.75 kB / 0.5995 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.2227, allocations: 0 / 0.5995 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.2228, allocations: 7.984 kB / 0.5995 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.2228, allocations: 0 / 0.5995 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.2229, allocations: 0 / 0.5995 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.223, allocations: 7.984 kB / 0.5995 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.223, allocations: 4 kB / 0.5995 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2234, allocations: 99.86 kB / 0.5996 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.2234, allocations: 3.938 kB / 0.5996 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2234, allocations: 25.7 kB / 0.5996 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2236, allocations: 75.91 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2237, allocations: 0 / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2237, allocations: 0 / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2237, allocations: 4 kB / 0.5997 GB, free: 5.438 MB / 0.4981 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.0004699/0.2242, allocations: 339.4 kB / 0.6 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.2242, allocations: 12.03 kB / 0.6 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.39e-05/0.2243, allocations: 105.8 kB / 0.6001 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.2244, allocations: 75.28 kB / 0.6002 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2247, allocations: 250.6 kB / 0.6005 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.2247, allocations: 150.6 kB / 0.6006 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.2248, allocations: 150.6 kB / 0.6007 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.2249, allocations: 108.9 kB / 0.6009 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.225, allocations: 75.28 kB / 0.6009 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.225, allocations: 150.6 kB / 0.6011 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/0.2251, allocations: 154.6 kB / 0.6012 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.2252, allocations: 150.6 kB / 0.6014 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2256, allocations: 453.9 kB / 0.6018 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.2257, allocations: 169.1 kB / 0.602 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.2258, allocations: 80.14 kB / 0.602 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2258, allocations: 83.22 kB / 0.6021 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.2259, allocations: 109.8 kB / 0.6022 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.2259, allocations: 4 kB / 0.6022 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.766e-05/0.226, allocations: 25.7 kB / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.2261, allocations: 126.7 kB / 0.6024 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2262, allocations: 97.84 kB / 0.6025 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2263, allocations: 29.64 kB / 0.6025 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.2263, allocations: 80.14 kB / 0.6026 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2263, allocations: 3.938 kB / 0.6026 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2263, allocations: 128 / 0.6026 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2265, allocations: 326.8 kB / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-06/0.2265, allocations: 0 / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/0.2265, allocations: 0 / 0.6029 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.2266, allocations: 75.28 kB / 0.6029 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/0.2266, allocations: 75.28 kB / 0.603 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.313e-05/0.2267, allocations: 33.61 kB / 0.6031 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.2267, allocations: 79.28 kB / 0.6031 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.2268, allocations: 83.22 kB / 0.6032 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.423e-05/0.2269, allocations: 150.6 kB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.2269, allocations: 83.27 kB / 0.6034 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.334e-05/0.227, allocations: 154.5 kB / 0.6036 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.2271, allocations: 79.28 kB / 0.6037 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.2272, allocations: 79.22 kB / 0.6037 GB, free: 1.078 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.2273, allocations: 272.3 kB / 0.604 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.2275, allocations: 105 kB / 0.6041 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.2275, allocations: 108.1 kB / 0.6042 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.2276, allocations: 180.2 kB / 0.6044 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.856e-05/0.2277, allocations: 184.3 kB / 0.6045 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/0.2278, allocations: 184.2 kB / 0.6047 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4236/0.6515, allocations: 397.5 kB / 0.6051 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.6516, allocations: 101.9 kB / 0.6052 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.6516, allocations: 106.5 kB / 0.6053 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.604e-05/0.6516, allocations: 181.1 kB / 0.6055 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.6517, allocations: 182.8 kB / 0.6056 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-05/0.6517, allocations: 182.5 kB / 0.6058 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.325e-05/0.6518, allocations: 186 kB / 0.606 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.6519, allocations: 301.5 kB / 0.6063 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.6519, allocations: 186.6 kB / 0.6065 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.652, allocations: 182.3 kB / 0.6066 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.6521, allocations: 110.2 kB / 0.6067 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.6521, allocations: 180.2 kB / 0.6069 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.6522, allocations: 107.4 kB / 0.607 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.6522, allocations: 81.69 kB / 0.6071 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6522, allocations: 0 / 0.6071 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004798/0.6527, allocations: 42.66 kB / 0.6071 GB, free: 38.8 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007878/0.6535, allocations: 0.9438 MB / 0.608 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.251e-05/0.6536, allocations: 5.281 kB / 0.6081 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6536, allocations: 0 / 0.6081 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.6536, allocations: 0.7188 kB / 0.6081 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.6539, allocations: 0.5264 MB / 0.6086 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.6546, allocations: 0.523 MB / 0.6091 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.6548, allocations: 0.6741 MB / 0.6097 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.6548, allocations: 0 / 0.6097 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.6548, allocations: 12.23 kB / 0.6097 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.6548, allocations: 0 / 0.6097 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.6688, allocations: 1.686 MB / 0.6114 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6691, allocations: 278.1 kB / 0.6117 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.752, allocations: 0 / 0.6117 GB, free: 35.79 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) Environment - environmentSimulation: