Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.106/2.106, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8642/0.8642, allocations: 132.3 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.000637, allocations: 11.98 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7066, allocations: 81.58 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001948/0.7086, allocations: 0.9909 MB / 0.5839 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.7116, allocations: 1.325 MB / 0.5852 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.7116, allocations: 0 / 0.5852 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.7117, allocations: 4.453 kB / 0.5852 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.7119, allocations: 17.77 kB / 0.5853 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009736/0.7129, allocations: 180.9 kB / 0.5854 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.713, allocations: 16.5 kB / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.7131, allocations: 5.703 kB / 0.5854 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.7132, allocations: 14.88 kB / 0.5855 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.7134, allocations: 19.73 kB / 0.5855 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.7134, allocations: 0.9375 kB / 0.5855 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.7139, allocations: 114.6 kB / 0.5856 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.7139, allocations: 11.05 kB / 0.5856 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.714, allocations: 33.11 kB / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.7143, allocations: 102.8 kB / 0.5857 GB, free: 2.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7143, allocations: 4.969 kB / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7143, allocations: 0 / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.7144, allocations: 0 / 0.5857 GB, free: 2.145 MB / 430.1 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.0004748/0.7148, allocations: 364.3 kB / 0.5861 GB, free: 1.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.7149, allocations: 8.594 kB / 0.5861 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.715, allocations: 110.6 kB / 0.5862 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.7151, allocations: 76.41 kB / 0.5863 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.7152, allocations: 246.7 kB / 0.5865 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.7153, allocations: 156.6 kB / 0.5867 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.7154, allocations: 153.4 kB / 0.5868 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.7155, allocations: 102.3 kB / 0.5869 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7155, allocations: 83.22 kB / 0.587 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.7155, allocations: 151.1 kB / 0.5871 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.7156, allocations: 154.6 kB / 0.5873 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.7156, allocations: 151.7 kB / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.716, allocations: 459.4 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.7161, allocations: 167 kB / 0.588 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.7162, allocations: 83.22 kB / 0.5881 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/0.7163, allocations: 115.8 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.7163, allocations: 0 / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000115/0.7164, allocations: 27.64 kB / 0.5882 GB, free: 15.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.7165, allocations: 128.2 kB / 0.5884 GB, free: 15.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.7166, allocations: 108.3 kB / 0.5885 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.7167, allocations: 25.7 kB / 0.5885 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.7167, allocations: 87.16 kB / 0.5886 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.7168, allocations: 0 / 0.5886 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.7168, allocations: 4 kB / 0.5886 GB, free: 15.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7169, allocations: 316.8 kB / 0.5889 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.717, allocations: 3.078 kB / 0.5889 GB, free: 14.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.717, allocations: 30.92 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.7171, allocations: 11.48 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7171, allocations: 0.5938 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001793/0.7173, allocations: 49.64 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7173, allocations: 5.469 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7173, allocations: 1.938 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7174, allocations: 1.156 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.7175, allocations: 8.547 kB / 0.589 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7175, allocations: 2.266 kB / 0.589 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.7177, allocations: 9.688 kB / 0.589 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.7177, allocations: 3.25 kB / 0.589 GB, free: 14.7 MB / 446.1 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 () * 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 0.0001308/0.7179, allocations: 192.8 kB / 0.5892 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.718, allocations: 106.7 kB / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.718, allocations: 106.7 kB / 0.5894 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-05/0.7181, allocations: 182.1 kB / 0.5896 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.092e-05/0.7182, allocations: 182.3 kB / 0.5897 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-05/0.7183, allocations: 178.2 kB / 0.5899 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.7186, allocations: 410.4 kB / 0.5903 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.297e-05/0.7187, allocations: 102.9 kB / 0.5904 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.7187, allocations: 106.6 kB / 0.5905 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.7189, allocations: 181.8 kB / 0.5907 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.719, allocations: 185.6 kB / 0.5908 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.213e-05/0.7191, allocations: 182.1 kB / 0.591 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.902e-05/0.7192, allocations: 178 kB / 0.5912 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.7194, allocations: 309.8 kB / 0.5915 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7195, allocations: 188.3 kB / 0.5917 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.7196, allocations: 182.9 kB / 0.5918 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.7198, allocations: 102.3 kB / 0.5919 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.7199, allocations: 182.1 kB / 0.5921 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.72, allocations: 103.3 kB / 0.5922 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.72, allocations: 92.61 kB / 0.5923 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7201, allocations: 0 / 0.5923 GB, free: 11.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.7207, allocations: 50.62 kB / 0.5923 GB, free: 11.13 MB / 446.1 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 () * 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.001389/0.7221, allocations: 0.978 MB / 0.5933 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.7222, allocations: 11.2 kB / 0.5933 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7223, allocations: 0.7188 kB / 0.5933 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.7223, allocations: 0 / 0.5933 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7227, allocations: 0.5247 MB / 0.5938 GB, free: 9.738 MB / 446.1 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.0009791/0.7237, allocations: 0.7003 MB / 0.5945 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.7241, allocations: 0.6803 MB / 0.5952 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.7241, allocations: 3.141 kB / 0.5952 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.7242, allocations: 9.594 kB / 0.5952 GB, free: 8.309 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7242, allocations: 1.094 kB / 0.5952 GB, free: 8.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4978/1.222, allocations: 2.316 MB / 0.5974 GB, free: 8.078 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/1.222, allocations: 243 kB / 0.5977 GB, free: 7.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.407, allocations: 2.031 kB / 0.5977 GB, free: 7.844 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: