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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.733/0.733, allocations: 127.4 MB / 134.9 MB, free: 3.707 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 176.9 kB / 164.6 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007589/0.0007588, allocations: 103.5 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.695e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.6073, allocations: 104.8 MB / 0.724 GB, free: 10.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6076, allocations: 89.38 kB / 0.7241 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.6249, allocations: 6.157 MB / 0.7301 GB, free: 5.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6249, allocations: 4 kB / 0.7301 GB, free: 5.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.6249, allocations: 0 / 0.7301 GB, free: 5.582 MB / 490.7 MB 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.0003441/0.6253, allocations: 366.8 kB / 0.7304 GB, free: 5.184 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6253, allocations: 15.97 kB / 0.7305 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.6254, allocations: 82.8 kB / 0.7305 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.6256, allocations: 238.3 kB / 0.7308 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.6256, allocations: 154.6 kB / 0.7309 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.6257, allocations: 154.6 kB / 0.7311 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.144e-05/0.6258, allocations: 150.6 kB / 0.7312 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.67e-05/0.6258, allocations: 105 kB / 0.7313 GB, free: 4.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.6259, allocations: 79.28 kB / 0.7314 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.6259, allocations: 150.6 kB / 0.7315 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/0.626, allocations: 158 kB / 0.7317 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.6263, allocations: 443 kB / 0.7321 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.6264, allocations: 165.1 kB / 0.7323 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.6265, allocations: 80.14 kB / 0.7323 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6265, allocations: 75.28 kB / 0.7324 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.6265, allocations: 109.8 kB / 0.7325 GB, free: 2.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6265, allocations: 0 / 0.7325 GB, free: 2.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.538e-05/0.6266, allocations: 34.42 kB / 0.7325 GB, free: 2.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.6267, allocations: 51.41 kB / 0.7326 GB, free: 2.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.6267, allocations: 100.7 kB / 0.7327 GB, free: 2.762 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.6268, allocations: 29.7 kB / 0.7327 GB, free: 2.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.6268, allocations: 91.48 kB / 0.7328 GB, free: 2.637 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.6268, allocations: 0 / 0.7328 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.6268, allocations: 4 kB / 0.7328 GB, free: 2.633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.627, allocations: 314.8 kB / 0.7331 GB, free: 2.316 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.627, allocations: 4 kB / 0.7331 GB, free: 2.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.627, allocations: 25.94 kB / 0.7331 GB, free: 2.281 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.6272, allocations: 15.98 kB / 0.7332 GB, free: 2.266 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6272, allocations: 3.938 kB / 0.7332 GB, free: 2.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001874/0.6274, allocations: 65.11 kB / 0.7332 GB, free: 2.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6274, allocations: 7.984 kB / 0.7332 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6274, allocations: 4.141 kB / 0.7332 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6274, allocations: 0 / 0.7332 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.6275, allocations: 7.984 kB / 0.7332 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.6275, allocations: 0 / 0.7332 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.6276, allocations: 7.938 kB / 0.7332 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.6276, allocations: 4 kB / 0.7333 GB, free: 2.164 MB / 490.7 MB 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 () * 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 0.0001007/0.6277, allocations: 192.2 kB / 0.7334 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.171e-05/0.6278, allocations: 134.3 kB / 0.7336 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.6279, allocations: 104.9 kB / 0.7337 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.6279, allocations: 104.7 kB / 0.7338 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.628, allocations: 184.2 kB / 0.7339 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.186e-05/0.628, allocations: 180.2 kB / 0.7341 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.6281, allocations: 180.3 kB / 0.7343 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.6283, allocations: 389.3 kB / 0.7347 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/0.6284, allocations: 104.9 kB / 0.7348 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.6284, allocations: 101 kB / 0.7348 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.124e-05/0.6285, allocations: 176.3 kB / 0.735 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/0.6286, allocations: 188.2 kB / 0.7352 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-05/0.6286, allocations: 180.3 kB / 0.7354 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/0.6287, allocations: 180.2 kB / 0.7355 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.6289, allocations: 311.1 kB / 0.7358 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.6289, allocations: 182.1 kB / 0.736 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.629, allocations: 189.2 kB / 0.7362 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.6291, allocations: 104.9 kB / 0.7363 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.6292, allocations: 176.3 kB / 0.7365 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.6292, allocations: 104.9 kB / 0.7366 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.6293, allocations: 87.52 kB / 0.7366 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6293, allocations: 0 / 0.7366 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003648/0.6296, allocations: 71.31 kB / 0.7367 GB, free: 14.42 MB / 0.4948 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 () * 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.0008979/0.6306, allocations: 0.9937 MB / 0.7377 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.6306, allocations: 8 kB / 0.7377 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6306, allocations: 0 / 0.7377 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.6307, allocations: 4 kB / 0.7377 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.631, allocations: 0.5231 MB / 0.7382 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.6313, allocations: 203.6 kB / 0.7384 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.6316, allocations: 0.6768 MB / 0.7391 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.6316, allocations: 7.875 kB / 0.7391 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6317, allocations: 11.44 kB / 0.7391 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/0.6317, allocations: 0 / 0.7391 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/0.8296, allocations: 2.101 MB / 0.7411 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.8299, allocations: 207.1 kB / 0.7413 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.402, allocations: 0 / 0.7413 GB, free: 9.582 MB / 0.4948 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)