Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.001264/0.001264, allocations: 99.55 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.001012/0.001012, allocations: 177.3 kB / 15.94 MB, free: 228 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9578/0.9578, allocations: 143.3 MB / 434.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 16 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 83.41 MB / 0.5974 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001127/0.1416, allocations: 0.983 MB / 0.5983 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1433, allocations: 1.331 MB / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.1433, allocations: 0 / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.1433, allocations: 0 / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1435, allocations: 15.92 kB / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.144, allocations: 174 kB / 0.5998 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.144, allocations: 19.92 kB / 0.5998 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1441, allocations: 3.984 kB / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.1441, allocations: 15.92 kB / 0.5998 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.1442, allocations: 19.98 kB / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1442, allocations: 0 / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1445, allocations: 123.8 kB / 0.6 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1445, allocations: 7.922 kB / 0.6 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.1445, allocations: 29.7 kB / 0.6 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1447, allocations: 99.86 kB / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.1447, allocations: 0 / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1447, allocations: 0 / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.1447, allocations: 0 / 0.6001 GB, free: 4.988 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.0003052/0.145, allocations: 363.5 kB / 0.6005 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.145, allocations: 12.03 kB / 0.6005 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1451, allocations: 105.8 kB / 0.6006 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.1452, allocations: 79.28 kB / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1453, allocations: 250.2 kB / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.1454, allocations: 154.6 kB / 0.601 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.1454, allocations: 150.6 kB / 0.6012 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.9e-05/0.1455, allocations: 105 kB / 0.6013 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1455, allocations: 75.28 kB / 0.6013 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.1456, allocations: 154.6 kB / 0.6015 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.1456, allocations: 150.6 kB / 0.6016 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.1457, allocations: 158.5 kB / 0.6018 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.1459, allocations: 457.9 kB / 0.6022 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.146, allocations: 169.1 kB / 0.6024 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1461, allocations: 75.28 kB / 0.6025 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.1461, allocations: 109.8 kB / 0.6026 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1461, allocations: 0 / 0.6026 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.23e-05/0.1462, allocations: 37.64 kB / 0.6026 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1462, allocations: 126.7 kB / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.1463, allocations: 105.8 kB / 0.6028 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1463, allocations: 25.7 kB / 0.6028 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.1464, allocations: 84.14 kB / 0.6029 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.1464, allocations: 0 / 0.6029 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1464, allocations: 0 / 0.6029 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1465, allocations: 318.8 kB / 0.6032 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.1465, allocations: 4 kB / 0.6032 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.1466, allocations: 26.56 kB / 0.6033 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.1466, allocations: 11.94 kB / 0.6033 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1466, allocations: 0 / 0.6033 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.1467, allocations: 49.53 kB / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1467, allocations: 8.094 kB / 0.6033 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1467, allocations: 4 kB / 0.6033 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1468, allocations: 3.938 kB / 0.6033 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.1468, allocations: 4.25 kB / 0.6033 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1468, allocations: 3.984 kB / 0.6033 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.147, allocations: 19.92 kB / 0.6034 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.147, allocations: 4 kB / 0.6034 GB, free: 1.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.603e-05/0.1471, allocations: 193 kB / 0.6035 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.1472, allocations: 109 kB / 0.6036 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.1472, allocations: 116.2 kB / 0.6038 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.1473, allocations: 184.2 kB / 0.6039 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-05/0.1473, allocations: 180.3 kB / 0.6041 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.486e-05/0.1474, allocations: 180.3 kB / 0.6043 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2492/0.3966, allocations: 410.4 kB / 0.6047 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.3967, allocations: 104.8 kB / 0.6048 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.3967, allocations: 101 kB / 0.6049 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.3968, allocations: 187.5 kB / 0.605 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.3968, allocations: 176.3 kB / 0.6052 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-05/0.3968, allocations: 180.6 kB / 0.6054 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-05/0.3968, allocations: 179.5 kB / 0.6056 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.082e-05/0.3969, allocations: 308.1 kB / 0.6059 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.397, allocations: 184 kB / 0.606 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.397, allocations: 187.4 kB / 0.6062 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.3971, allocations: 102.1 kB / 0.6063 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3972, allocations: 179.1 kB / 0.6065 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3972, allocations: 108.9 kB / 0.6066 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.3972, allocations: 84.08 kB / 0.6067 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3972, allocations: 0.8125 kB / 0.6067 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000425/0.3977, allocations: 52.86 kB / 0.6067 GB, free: 39.11 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.0006436/0.3983, allocations: 0.9613 MB / 0.6076 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.3984, allocations: 16.05 kB / 0.6077 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3984, allocations: 0 / 0.6077 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3984, allocations: 1.531 kB / 0.6077 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.3986, allocations: 0.5258 MB / 0.6082 GB, free: 37.79 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.3991, allocations: 0.7059 MB / 0.6089 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.3992, allocations: 0.6747 MB / 0.6095 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.3992, allocations: 3.938 kB / 0.6095 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.3993, allocations: 11.28 kB / 0.6095 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3993, allocations: 1.312 kB / 0.6095 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.6822, allocations: 2.37 MB / 0.6119 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.6824, allocations: 259.3 kB / 0.6121 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.3, allocations: 7.094 kB / 0.6121 GB, free: 35.89 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: