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.001163/0.001163, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001431/0.001431, allocations: 177.3 kB / 15.95 MB, free: 216 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.269/1.269, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9391/0.9391, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 8 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 83.41 MB / 0.5974 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00116/0.149, allocations: 0.9673 MB / 0.5983 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1501, allocations: 0.9491 MB / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1501, allocations: 0 / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.1502, allocations: 0 / 0.5992 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.1505, allocations: 83.73 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.144e-06/0.1505, allocations: 0 / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.564e-05/0.1505, allocations: 0 / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1506, allocations: 7.969 kB / 0.5993 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.101e-05/0.1506, allocations: 0 / 0.5993 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1507, allocations: 7.938 kB / 0.5993 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-06/0.1507, allocations: 0 / 0.5993 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1509, allocations: 87.88 kB / 0.5994 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-06/0.1509, allocations: 7.984 kB / 0.5994 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.1509, allocations: 25.7 kB / 0.5994 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1511, allocations: 71.86 kB / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.1511, allocations: 0 / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1511, allocations: 0 / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.1511, allocations: 0 / 0.5995 GB, free: 5.566 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.0003138/0.1514, allocations: 343.4 kB / 0.5998 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1514, allocations: 12.03 kB / 0.5999 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.1515, allocations: 109.8 kB / 0.6 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1516, allocations: 79.28 kB / 0.6 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1518, allocations: 242.5 kB / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.1518, allocations: 154.6 kB / 0.6004 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.1519, allocations: 150.6 kB / 0.6006 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.953e-05/0.152, allocations: 105 kB / 0.6007 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.152, allocations: 75.28 kB / 0.6007 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.152, allocations: 158.5 kB / 0.6009 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.1521, allocations: 154.6 kB / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.1521, allocations: 154.5 kB / 0.6012 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1524, allocations: 449.8 kB / 0.6016 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.1525, allocations: 177.1 kB / 0.6018 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1525, allocations: 75.28 kB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.1525, allocations: 109.8 kB / 0.6019 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1525, allocations: 0 / 0.6019 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.658e-05/0.1526, allocations: 29.64 kB / 0.602 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1527, allocations: 126.7 kB / 0.6021 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.1527, allocations: 101.8 kB / 0.6022 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1528, allocations: 29.7 kB / 0.6022 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.1528, allocations: 80.14 kB / 0.6023 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.1528, allocations: 4 kB / 0.6023 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1528, allocations: 0 / 0.6023 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.1529, allocations: 314.8 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-06/0.1529, allocations: 0 / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-06/0.1529, allocations: 0 / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.1529, allocations: 79.41 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.153, allocations: 75.28 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.694e-05/0.153, allocations: 37.55 kB / 0.6028 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.1531, allocations: 83.27 kB / 0.6029 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.1531, allocations: 75.28 kB / 0.6029 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.536e-05/0.1531, allocations: 154.6 kB / 0.6031 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-05/0.1532, allocations: 83.22 kB / 0.6032 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.1532, allocations: 154.6 kB / 0.6033 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.1533, allocations: 79.22 kB / 0.6034 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1533, allocations: 75.28 kB / 0.6035 GB, free: 1.281 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.0001071/0.1534, allocations: 268.3 kB / 0.6037 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.1535, allocations: 105 kB / 0.6038 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.1536, allocations: 116 kB / 0.6039 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.1536, allocations: 184.3 kB / 0.6041 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-05/0.1537, allocations: 180.2 kB / 0.6043 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001474/0.1538, allocations: 176.3 kB / 0.6044 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2398/0.3936, allocations: 404 kB / 0.6048 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.3937, allocations: 102.9 kB / 0.6049 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.3937, allocations: 103.2 kB / 0.605 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.3937, allocations: 182.9 kB / 0.6052 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3937, allocations: 182 kB / 0.6054 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.3938, allocations: 185.4 kB / 0.6055 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-05/0.3938, allocations: 180.9 kB / 0.6057 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.3939, allocations: 305.7 kB / 0.606 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.3939, allocations: 186.3 kB / 0.6062 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3939, allocations: 184.4 kB / 0.6064 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.394, allocations: 108.6 kB / 0.6065 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.394, allocations: 184.2 kB / 0.6066 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3941, allocations: 102.8 kB / 0.6067 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3941, allocations: 81.33 kB / 0.6068 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3941, allocations: 0 / 0.6068 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003709/0.3945, allocations: 36.81 kB / 0.6069 GB, free: 39.06 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.0005399/0.395, allocations: 0.9412 MB / 0.6078 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.255e-05/0.3951, allocations: 3.906 kB / 0.6078 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3951, allocations: 3.031 kB / 0.6078 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/0.3951, allocations: 0.6094 kB / 0.6078 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.3953, allocations: 0.523 MB / 0.6083 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.3957, allocations: 0.5244 MB / 0.6088 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.3958, allocations: 0.6742 MB / 0.6095 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.3958, allocations: 1.469 kB / 0.6095 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.3959, allocations: 8.75 kB / 0.6095 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.3959, allocations: 0 / 0.6095 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.4076, allocations: 1.671 MB / 0.6111 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.4078, allocations: 259.9 kB / 0.6114 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.979, allocations: 0 / 0.6114 GB, free: 36.04 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: