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.7046/0.7046, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 180.8 kB / 169.7 MB, free: 1.734 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.693/1.693, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008459/0.0008459, allocations: 86.45 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.946e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 76.75 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/0.6557, allocations: 105.2 MB / 0.731 GB, free: 8.234 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.6559, allocations: 88.44 kB / 0.7311 GB, free: 8.184 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.6739, allocations: 6.296 MB / 0.7372 GB, free: 3.102 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6739, allocations: 0 / 0.7372 GB, free: 3.102 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.6739, allocations: 0 / 0.7372 GB, free: 3.102 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.0004092/0.6743, allocations: 373.5 kB / 0.7376 GB, free: 2.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6744, allocations: 15.97 kB / 0.7376 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.6744, allocations: 105.8 kB / 0.7377 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.6745, allocations: 83.23 kB / 0.7378 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.6747, allocations: 238.3 kB / 0.738 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.6748, allocations: 150.6 kB / 0.7381 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.6748, allocations: 158.4 kB / 0.7383 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.6749, allocations: 105 kB / 0.7384 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.675, allocations: 79.28 kB / 0.7385 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.675, allocations: 150.6 kB / 0.7386 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.6751, allocations: 154.5 kB / 0.7387 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.6751, allocations: 162.5 kB / 0.7389 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.6754, allocations: 453.8 kB / 0.7393 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.6755, allocations: 168.4 kB / 0.7395 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.6756, allocations: 80.14 kB / 0.7396 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.6756, allocations: 75.28 kB / 0.7396 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.6757, allocations: 109.8 kB / 0.7398 GB, free: 340 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6757, allocations: 8 kB / 0.7398 GB, free: 332 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.023e-05/0.6757, allocations: 26.48 kB / 0.7398 GB, free: 300 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.6758, allocations: 126.7 kB / 0.7399 GB, free: 160 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.6759, allocations: 100.4 kB / 0.74 GB, free: 56 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6759, allocations: 29.52 kB / 0.74 GB, free: 24 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.676, allocations: 84.05 kB / 0.7401 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.676, allocations: 0 / 0.7401 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.676, allocations: 4 kB / 0.7401 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6761, allocations: 318.8 kB / 0.7404 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.6762, allocations: 3.75 kB / 0.7404 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.6762, allocations: 34.44 kB / 0.7405 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.6762, allocations: 7.938 kB / 0.7405 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6762, allocations: 0 / 0.7405 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/0.6764, allocations: 53 kB / 0.7405 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6764, allocations: 8.938 kB / 0.7405 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6764, allocations: 0 / 0.7405 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6764, allocations: 0 / 0.7405 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.6765, allocations: 4 kB / 0.7405 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6765, allocations: 4.625 kB / 0.7405 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.6766, allocations: 3.938 kB / 0.7405 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.6766, allocations: 7.984 kB / 0.7405 GB, free: 15.48 MB / 0.4948 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 () * 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 9.312e-05/0.6767, allocations: 191.9 kB / 0.7407 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.6768, allocations: 104.9 kB / 0.7408 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.6768, allocations: 104.1 kB / 0.7409 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-05/0.6769, allocations: 180.2 kB / 0.7411 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.804e-05/0.677, allocations: 188.2 kB / 0.7413 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.467e-05/0.677, allocations: 176.5 kB / 0.7414 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.6773, allocations: 409.1 kB / 0.7418 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/0.6773, allocations: 112.7 kB / 0.7419 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.6774, allocations: 104.9 kB / 0.742 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/0.6774, allocations: 176.4 kB / 0.7422 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.6775, allocations: 180.3 kB / 0.7424 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.308e-05/0.6776, allocations: 184.2 kB / 0.7426 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/0.6777, allocations: 188.2 kB / 0.7427 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.6778, allocations: 307.5 kB / 0.743 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.6779, allocations: 182 kB / 0.7432 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.678, allocations: 191.1 kB / 0.7434 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.6781, allocations: 106 kB / 0.7435 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.6781, allocations: 180.2 kB / 0.7437 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.6782, allocations: 101 kB / 0.7438 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.6782, allocations: 87.22 kB / 0.7438 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6782, allocations: 0 / 0.7438 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003612/0.6786, allocations: 67.42 kB / 0.7439 GB, free: 11.84 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.0009541/0.6796, allocations: 1.002 MB / 0.7449 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.6797, allocations: 19.31 kB / 0.7449 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6797, allocations: 0 / 0.7449 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6797, allocations: 0 / 0.7449 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.68, allocations: 0.5232 MB / 0.7454 GB, free: 10.32 MB / 0.4948 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.0004152/0.6804, allocations: 205.8 kB / 0.7456 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.6807, allocations: 0.677 MB / 0.7463 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.6807, allocations: 0 / 0.7463 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.6807, allocations: 11.44 kB / 0.7463 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.6808, allocations: 0 / 0.7463 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.8818, allocations: 2.424 MB / 0.7486 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.8821, allocations: 224 kB / 0.7489 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.497, allocations: 3.234 kB / 0.7489 GB, free: 6.895 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)