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.6579/0.6579, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.0009377/0.0009377, allocations: 184.4 kB / 173.7 MB, free: 6.125 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.337/1.337, allocations: 205.4 MB / 409 MB, free: 10.5 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.0007839/0.0007839, allocations: 84.42 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 10.41 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.2469, allocations: 105.3 MB / 0.7382 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.2472, allocations: 91.94 kB / 0.7383 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2525/0.4997, allocations: 6.474 MB / 0.7446 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4997, allocations: 0 / 0.7446 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4997, allocations: 3 kB / 0.7446 GB, free: 108.1 MB / 0.5105 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.0003066/0.5001, allocations: 379.1 kB / 0.745 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5001, allocations: 9.906 kB / 0.745 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.5001, allocations: 109.8 kB / 0.7451 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.5002, allocations: 87.05 kB / 0.7452 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5003, allocations: 237.9 kB / 0.7454 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.5003, allocations: 155.2 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5004, allocations: 153.9 kB / 0.7457 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.572e-05/0.5004, allocations: 101 kB / 0.7458 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5004, allocations: 79.62 kB / 0.7459 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5005, allocations: 152.3 kB / 0.746 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.5005, allocations: 151.5 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.5005, allocations: 158.9 kB / 0.7463 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.5007, allocations: 464.8 kB / 0.7468 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.5007, allocations: 165.1 kB / 0.7469 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5007, allocations: 80.17 kB / 0.747 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.5008, allocations: 105.8 kB / 0.7471 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/0.5008, allocations: 1.594 kB / 0.7471 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.093e-05/0.5008, allocations: 38.12 kB / 0.7471 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.5009, allocations: 127.5 kB / 0.7473 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.5009, allocations: 104.2 kB / 0.7474 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.501, allocations: 26.41 kB / 0.7474 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.501, allocations: 89.41 kB / 0.7475 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.501, allocations: 0 / 0.7475 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-06/0.501, allocations: 0 / 0.7475 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.5011, allocations: 315.9 kB / 0.7478 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.5011, allocations: 6.703 kB / 0.7478 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.5011, allocations: 24.17 kB / 0.7478 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.5011, allocations: 7.359 kB / 0.7478 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5011, allocations: 3.469 kB / 0.7478 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.5013, allocations: 46.86 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5013, allocations: 5.312 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5013, allocations: 1.156 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5013, allocations: 2.719 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.5014, allocations: 12.56 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5014, allocations: 1 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.5015, allocations: 5.078 kB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.5015, allocations: 7.406 kB / 0.7479 GB, free: 104.8 MB / 0.5105 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 6.156e-05/0.5015, allocations: 197.9 kB / 0.7481 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.5016, allocations: 105.8 kB / 0.7482 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.5016, allocations: 107.6 kB / 0.7483 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.5016, allocations: 188.2 kB / 0.7485 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.5017, allocations: 176.3 kB / 0.7486 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.5017, allocations: 181.8 kB / 0.7488 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5018, allocations: 413.1 kB / 0.7492 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5018, allocations: 105.2 kB / 0.7493 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.5019, allocations: 108.9 kB / 0.7494 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/0.5019, allocations: 180.2 kB / 0.7496 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5019, allocations: 185.3 kB / 0.7498 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-05/0.5019, allocations: 181.7 kB / 0.7499 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.502, allocations: 177.1 kB / 0.7501 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.177e-05/0.502, allocations: 312.9 kB / 0.7504 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.5021, allocations: 182.2 kB / 0.7506 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.5021, allocations: 184 kB / 0.7507 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.5022, allocations: 101.7 kB / 0.7508 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.5022, allocations: 178.1 kB / 0.751 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5022, allocations: 113.9 kB / 0.7511 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.5022, allocations: 87.47 kB / 0.7512 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5023, allocations: 0 / 0.7512 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002875/0.5025, allocations: 65.62 kB / 0.7513 GB, free: 101.3 MB / 0.5105 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.0006031/0.5032, allocations: 0.9971 MB / 0.7522 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.2e-05/0.5032, allocations: 14.27 kB / 0.7523 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5032, allocations: 0 / 0.7523 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.5032, allocations: 11.38 kB / 0.7523 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5034, allocations: 0.5213 MB / 0.7528 GB, free: 99.88 MB / 0.5105 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.0004591/0.5039, allocations: 0.7206 MB / 0.7535 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.198e-05/0.504, allocations: 0.6836 MB / 0.7541 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.504, allocations: 2.281 kB / 0.7541 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.5041, allocations: 9.844 kB / 0.7542 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.5041, allocations: 0 / 0.7542 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/0.7461, allocations: 2.434 MB / 0.7565 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7463, allocations: 254.3 kB / 0.7568 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.298, allocations: 1.25 kB / 0.7568 GB, free: 97.87 MB / 0.5105 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)