Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4826/0.4826, allocations: 90.92 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 95.33 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.782e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.6113, allocations: 103.2 MB / 0.6544 GB, free: 6.789 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.6116, allocations: 96.67 kB / 0.6545 GB, free: 6.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.6279, allocations: 5.654 MB / 0.66 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6279, allocations: 0 / 0.66 GB, free: 2.219 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.6279, allocations: 0 / 0.66 GB, free: 2.219 MB / 458.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.0003995/0.6283, allocations: 370.6 kB / 0.6604 GB, free: 1.816 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6284, allocations: 8.031 kB / 0.6604 GB, free: 1.809 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.6285, allocations: 83.14 kB / 0.6605 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.6286, allocations: 242.3 kB / 0.6607 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.6287, allocations: 154.6 kB / 0.6609 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.6288, allocations: 158.6 kB / 0.661 GB, free: 1.141 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.597e-05/0.6289, allocations: 150.6 kB / 0.6612 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.193e-05/0.6289, allocations: 112 kB / 0.6613 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.6289, allocations: 75.28 kB / 0.6613 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.629, allocations: 150.6 kB / 0.6615 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.6291, allocations: 158.5 kB / 0.6616 GB, free: 0.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.6293, allocations: 437.9 kB / 0.662 GB, free: 40 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.6294, allocations: 165.1 kB / 0.6622 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.6295, allocations: 84.14 kB / 0.6623 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.6295, allocations: 79.28 kB / 0.6624 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.6296, allocations: 113.7 kB / 0.6625 GB, free: 15.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6296, allocations: 0 / 0.6625 GB, free: 15.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 7.404e-05/0.6297, allocations: 25.7 kB / 0.6625 GB, free: 15.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.6297, allocations: 55.41 kB / 0.6625 GB, free: 15.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.6298, allocations: 99.92 kB / 0.6626 GB, free: 15.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6298, allocations: 25.7 kB / 0.6627 GB, free: 15.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.6299, allocations: 84.14 kB / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.6299, allocations: 0 / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6299, allocations: 4 kB / 0.6627 GB, free: 15.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.63, allocations: 317.5 kB / 0.663 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.63, allocations: 0 / 0.663 GB, free: 14.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.6301, allocations: 25.83 kB / 0.6631 GB, free: 14.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6302, allocations: 23.91 kB / 0.6631 GB, free: 14.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6302, allocations: 0 / 0.6631 GB, free: 14.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001981/0.6304, allocations: 61.45 kB / 0.6632 GB, free: 14.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.6305, allocations: 9.562 kB / 0.6632 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6305, allocations: 0 / 0.6632 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6305, allocations: 0 / 0.6632 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.6306, allocations: 11.92 kB / 0.6632 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.6306, allocations: 4 kB / 0.6632 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.6307, allocations: 4.094 kB / 0.6632 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6307, allocations: 4 kB / 0.6632 GB, free: 14.8 MB / 474.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 9.297e-05/0.6308, allocations: 184.2 kB / 0.6634 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.641e-05/0.6309, allocations: 134.6 kB / 0.6635 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.6309, allocations: 105 kB / 0.6636 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.631, allocations: 108.5 kB / 0.6637 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/0.6311, allocations: 184.2 kB / 0.6639 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-05/0.6311, allocations: 180.3 kB / 0.664 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/0.6312, allocations: 184.2 kB / 0.6642 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.6314, allocations: 381.7 kB / 0.6646 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.6314, allocations: 108.2 kB / 0.6647 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.6315, allocations: 105 kB / 0.6648 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-05/0.6316, allocations: 184.2 kB / 0.665 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.6316, allocations: 176.3 kB / 0.6651 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.426e-05/0.6317, allocations: 180.2 kB / 0.6653 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-05/0.6318, allocations: 184.5 kB / 0.6655 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.6319, allocations: 307.1 kB / 0.6658 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.632, allocations: 189.9 kB / 0.666 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.6321, allocations: 185.2 kB / 0.6661 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.6322, allocations: 101 kB / 0.6662 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.6323, allocations: 187.5 kB / 0.6664 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.6323, allocations: 109 kB / 0.6665 GB, free: 11.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.6323, allocations: 83.28 kB / 0.6666 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6324, allocations: 0 / 0.6666 GB, free: 11.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.6327, allocations: 63.09 kB / 0.6666 GB, free: 11.05 MB / 474.7 MB 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.0008572/0.6336, allocations: 0.9988 MB / 0.6676 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.252e-05/0.6336, allocations: 4 kB / 0.6676 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6336, allocations: 0 / 0.6676 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6337, allocations: 0 / 0.6676 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.634, allocations: 0.5294 MB / 0.6681 GB, free: 9.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.6344, allocations: 184.9 kB / 0.6683 GB, free: 9.309 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.6346, allocations: 0.6768 MB / 0.669 GB, free: 8.605 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.6347, allocations: 7.938 kB / 0.669 GB, free: 8.598 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.6347, allocations: 15.3 kB / 0.669 GB, free: 8.586 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6347, allocations: 0 / 0.669 GB, free: 8.586 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2061/0.8408, allocations: 1.932 MB / 0.6709 GB, free: 6.676 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.8411, allocations: 196.2 kB / 0.6711 GB, free: 6.414 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.317, allocations: 4.875 kB / 0.6711 GB, free: 6.414 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)