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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8549/0.8549, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.91 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4187, allocations: 83.44 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002802/0.4215, allocations: 1.278 MB / 0.6814 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.4237, allocations: 1.446 MB / 0.6828 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.4237, allocations: 0 / 0.6828 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.4237, allocations: 1.094 kB / 0.6828 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.4239, allocations: 23.53 kB / 0.6829 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.4245, allocations: 216.8 kB / 0.6831 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.4246, allocations: 24.67 kB / 0.6831 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.4246, allocations: 5.375 kB / 0.6831 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.4247, allocations: 19.97 kB / 0.6831 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4248, allocations: 8.719 kB / 0.6831 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4248, allocations: 1.219 kB / 0.6831 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.4251, allocations: 174.3 kB / 0.6833 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.4251, allocations: 2.469 kB / 0.6833 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.4251, allocations: 8.312 kB / 0.6833 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4254, allocations: 148 kB / 0.6835 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4254, allocations: 5.266 kB / 0.6835 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4254, allocations: 0 / 0.6835 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4254, allocations: 4 kB / 0.6835 GB, free: 3.504 MB / 0.4981 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.0003625/0.4257, allocations: 370.9 kB / 0.6838 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4258, allocations: 10.38 kB / 0.6838 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.4258, allocations: 110 kB / 0.6839 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.4259, allocations: 77 kB / 0.684 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.426, allocations: 238.4 kB / 0.6842 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.426, allocations: 156 kB / 0.6844 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.4261, allocations: 160.9 kB / 0.6845 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.242e-05/0.4261, allocations: 105 kB / 0.6846 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4261, allocations: 76.81 kB / 0.6847 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4261, allocations: 150.6 kB / 0.6849 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4262, allocations: 154.5 kB / 0.685 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.4262, allocations: 164 kB / 0.6852 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.4264, allocations: 453.6 kB / 0.6856 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.4264, allocations: 170.1 kB / 0.6857 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.4264, allocations: 84.14 kB / 0.6858 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4265, allocations: 76.28 kB / 0.6859 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4265, allocations: 115 kB / 0.686 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4265, allocations: 0 / 0.686 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.353e-05/0.4266, allocations: 31.77 kB / 0.686 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.4266, allocations: 126.7 kB / 0.6862 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.4267, allocations: 105.6 kB / 0.6863 GB, free: 488 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.4267, allocations: 25.7 kB / 0.6863 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.4267, allocations: 94.75 kB / 0.6864 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4267, allocations: 0 / 0.6864 GB, free: 360 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4267, allocations: 19.36 kB / 0.6864 GB, free: 340 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.4268, allocations: 316.2 kB / 0.6867 GB, free: 16 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.4268, allocations: 1.406 kB / 0.6867 GB, free: 16 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.4269, allocations: 25.34 kB / 0.6867 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.4269, allocations: 31.52 kB / 0.6868 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4269, allocations: 0 / 0.6868 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001402/0.4271, allocations: 54.81 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4271, allocations: 5.312 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4271, allocations: 1.375 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4271, allocations: 1.344 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.4272, allocations: 4.656 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4272, allocations: 1.25 kB / 0.6868 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4273, allocations: 19.45 kB / 0.6868 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4273, allocations: 3.094 kB / 0.6868 GB, free: 15.89 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4275, allocations: 191.7 kB / 0.687 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.4275, allocations: 102.2 kB / 0.6871 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.4276, allocations: 117.5 kB / 0.6872 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.187e-05/0.4277, allocations: 189.6 kB / 0.6874 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.889e-05/0.4277, allocations: 176.3 kB / 0.6876 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/0.4278, allocations: 185.6 kB / 0.6878 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.4281, allocations: 403.8 kB / 0.6881 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.4281, allocations: 106.2 kB / 0.6882 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.4282, allocations: 102.2 kB / 0.6883 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-05/0.4283, allocations: 188.2 kB / 0.6885 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.4283, allocations: 181.5 kB / 0.6887 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.851e-05/0.4284, allocations: 177.5 kB / 0.6889 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.721e-05/0.4285, allocations: 181.5 kB / 0.689 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4287, allocations: 314.5 kB / 0.6893 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.4288, allocations: 187.3 kB / 0.6895 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.4289, allocations: 177.5 kB / 0.6897 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.429, allocations: 109.9 kB / 0.6898 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.4291, allocations: 177.4 kB / 0.69 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.4292, allocations: 109.9 kB / 0.6901 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.4292, allocations: 83.5 kB / 0.6901 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 0.6901 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003355/0.4296, allocations: 54.89 kB / 0.6902 GB, free: 12.29 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009261/0.4305, allocations: 0.9751 MB / 0.6911 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4306, allocations: 19.45 kB / 0.6912 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4306, allocations: 0 / 0.6912 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.4306, allocations: 0 / 0.6912 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.431, allocations: 454.2 kB / 0.6916 GB, free: 10.95 MB / 0.5137 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.00122/0.4322, allocations: 1.347 MB / 0.6929 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4325, allocations: 0.6723 MB / 0.6936 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.4325, allocations: 13.16 kB / 0.6936 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.4325, allocations: 14.2 kB / 0.6936 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4325, allocations: 0 / 0.6936 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.459/0.8915, allocations: 2.649 MB / 0.6962 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.748, allocations: 8.719 kB / 0.6962 GB, free: 7.434 MB / 0.5137 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.025120224803686] Failed to read output from testmodel.py, exit status != 0: 12.266365183051676 12.282816308 11.853334764 Calling exit ...