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.001582/0.001582, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5979/0.5979, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 348.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 93.56 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.609e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5058, allocations: 103.9 MB / 0.6618 GB, free: 432 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5061, allocations: 83.95 kB / 0.6619 GB, free: 348 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5235, allocations: 5.787 MB / 0.6675 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5235, allocations: 4 kB / 0.6675 GB, free: 10.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.5235, allocations: 4 kB / 0.6675 GB, free: 10.55 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.0004341/0.524, allocations: 362.5 kB / 0.6679 GB, free: 10.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.524, allocations: 15.98 kB / 0.6679 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.5241, allocations: 105.8 kB / 0.668 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.5242, allocations: 83.14 kB / 0.6681 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.5244, allocations: 247.9 kB / 0.6683 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.5245, allocations: 158.5 kB / 0.6684 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.5246, allocations: 154.6 kB / 0.6686 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.709e-05/0.5246, allocations: 101 kB / 0.6687 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.5247, allocations: 75.28 kB / 0.6688 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.5247, allocations: 150.6 kB / 0.6689 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.5248, allocations: 154.6 kB / 0.669 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.5249, allocations: 158.5 kB / 0.6692 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.5252, allocations: 453.9 kB / 0.6696 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.184e-05/0.5253, allocations: 177.1 kB / 0.6698 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.5254, allocations: 80.14 kB / 0.6699 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.5254, allocations: 79.28 kB / 0.67 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.5255, allocations: 109.8 kB / 0.6701 GB, free: 7.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.5255, allocations: 0 / 0.6701 GB, free: 7.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.738e-05/0.5256, allocations: 33.64 kB / 0.6701 GB, free: 7.719 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.5256, allocations: 126.7 kB / 0.6702 GB, free: 7.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.5257, allocations: 93 kB / 0.6703 GB, free: 7.484 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5258, allocations: 38.56 kB / 0.6703 GB, free: 7.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.5258, allocations: 84.14 kB / 0.6704 GB, free: 7.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.5258, allocations: 0 / 0.6704 GB, free: 7.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.5258, allocations: 0 / 0.6704 GB, free: 7.355 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.526, allocations: 318.8 kB / 0.6707 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.526, allocations: 4 kB / 0.6707 GB, free: 7.031 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.526, allocations: 26.56 kB / 0.6707 GB, free: 6.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.5261, allocations: 7.984 kB / 0.6708 GB, free: 6.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5261, allocations: 4 kB / 0.6708 GB, free: 6.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001379/0.5262, allocations: 45.64 kB / 0.6708 GB, free: 6.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5263, allocations: 5.125 kB / 0.6708 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5263, allocations: 3.984 kB / 0.6708 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5263, allocations: 4 kB / 0.6708 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.5264, allocations: 7.938 kB / 0.6708 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5264, allocations: 0 / 0.6708 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.5265, allocations: 12 kB / 0.6708 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.5265, allocations: 4 kB / 0.6708 GB, free: 6.898 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.0001199/0.5266, allocations: 184.2 kB / 0.671 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.5267, allocations: 109 kB / 0.6711 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.5268, allocations: 112.1 kB / 0.6712 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/0.5268, allocations: 176.3 kB / 0.6714 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.625e-05/0.5269, allocations: 180.3 kB / 0.6716 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.527, allocations: 189 kB / 0.6717 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.5273, allocations: 401.4 kB / 0.6721 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.5273, allocations: 108.9 kB / 0.6722 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.5274, allocations: 113 kB / 0.6723 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-05/0.5275, allocations: 180.2 kB / 0.6725 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/0.5275, allocations: 180.3 kB / 0.6727 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.032e-05/0.5276, allocations: 176.3 kB / 0.6729 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.344e-05/0.5277, allocations: 184.2 kB / 0.673 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.5278, allocations: 311.7 kB / 0.6733 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.5279, allocations: 184.5 kB / 0.6735 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.528, allocations: 176.3 kB / 0.6737 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.5281, allocations: 113.8 kB / 0.6738 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.5282, allocations: 184.3 kB / 0.674 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5282, allocations: 104.9 kB / 0.6741 GB, free: 3.387 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.5283, allocations: 83.22 kB / 0.6741 GB, free: 3.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5283, allocations: 4 kB / 0.6741 GB, free: 3.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.5287, allocations: 63.97 kB / 0.6742 GB, free: 3.238 MB / 490.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.001052/0.5298, allocations: 0.9853 MB / 0.6752 GB, free: 2.281 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.5299, allocations: 23.98 kB / 0.6752 GB, free: 2.258 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.5299, allocations: 0 / 0.6752 GB, free: 2.258 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.5299, allocations: 0 / 0.6752 GB, free: 2.258 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.5302, allocations: 0.5249 MB / 0.6757 GB, free: 1.73 MB / 490.7 MB 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.0004843/0.5307, allocations: 200.4 kB / 0.6759 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.531, allocations: 0.6809 MB / 0.6765 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.531, allocations: 4 kB / 0.6766 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.531, allocations: 11.42 kB / 0.6766 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.531, allocations: 0 / 0.6766 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/0.74, allocations: 2.254 MB / 0.6788 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.7402, allocations: 221.9 kB / 0.679 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.313, allocations: 4.547 kB / 0.679 GB, free: 14.48 MB / 0.4948 GB (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)