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.001015/0.001015, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6907/0.6907, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 73.17 kB / 0.5019 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002061/0.3423, allocations: 1.277 MB / 0.5814 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3439, allocations: 1.436 MB / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.3439, allocations: 0 / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.3439, allocations: 3.938 kB / 0.5829 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3441, allocations: 12.81 kB / 0.5829 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.3446, allocations: 213.8 kB / 0.5831 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.3447, allocations: 26.69 kB / 0.5831 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.3447, allocations: 6.172 kB / 0.5831 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.3448, allocations: 23.16 kB / 0.5831 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3449, allocations: 7.5 kB / 0.5831 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3449, allocations: 0.6562 kB / 0.5831 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.3452, allocations: 152.8 kB / 0.5833 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.3452, allocations: 7.734 kB / 0.5833 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.3452, allocations: 5.031 kB / 0.5833 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.3455, allocations: 151.8 kB / 0.5834 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3455, allocations: 0 / 0.5834 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3455, allocations: 0 / 0.5834 GB, free: 2.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3455, allocations: 5.344 kB / 0.5834 GB, free: 2.414 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.0002785/0.3458, allocations: 374.8 kB / 0.5838 GB, free: 2.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3458, allocations: 9.25 kB / 0.5838 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.3459, allocations: 110 kB / 0.5839 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.3459, allocations: 79.2 kB / 0.584 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.346, allocations: 238.2 kB / 0.5842 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.346, allocations: 153.8 kB / 0.5844 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3461, allocations: 160.4 kB / 0.5845 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.405e-05/0.3461, allocations: 110.2 kB / 0.5846 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3461, allocations: 76.03 kB / 0.5847 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3461, allocations: 150.6 kB / 0.5848 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.3462, allocations: 151.8 kB / 0.585 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.3462, allocations: 154.6 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.3464, allocations: 455.9 kB / 0.5856 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.3464, allocations: 183.1 kB / 0.5857 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.3465, allocations: 84.08 kB / 0.5858 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3465, allocations: 75.28 kB / 0.5859 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.3465, allocations: 111.2 kB / 0.586 GB, free: 15.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3465, allocations: 0.5312 kB / 0.586 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.858e-05/0.3466, allocations: 32.3 kB / 0.586 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3467, allocations: 131.9 kB / 0.5861 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.3468, allocations: 103.3 kB / 0.5862 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3468, allocations: 26.27 kB / 0.5863 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3468, allocations: 90.91 kB / 0.5864 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/0.3469, allocations: 0 / 0.5864 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3469, allocations: 22.67 kB / 0.5864 GB, free: 15.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.347, allocations: 320.6 kB / 0.5867 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.347, allocations: 2.5 kB / 0.5867 GB, free: 14.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.3471, allocations: 23.08 kB / 0.5867 GB, free: 14.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.3471, allocations: 33.55 kB / 0.5867 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3471, allocations: 0.7031 kB / 0.5867 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.3472, allocations: 53.09 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3473, allocations: 5.531 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3473, allocations: 0.7031 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3473, allocations: 1.188 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.3473, allocations: 5.719 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3474, allocations: 5.688 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3475, allocations: 6.875 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3475, allocations: 2.969 kB / 0.5868 GB, free: 14.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3476, allocations: 194.2 kB / 0.587 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.3477, allocations: 106.8 kB / 0.5871 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3477, allocations: 106.2 kB / 0.5872 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.3478, allocations: 182 kB / 0.5874 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/0.3479, allocations: 182 kB / 0.5876 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.155e-05/0.3479, allocations: 186.3 kB / 0.5877 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3481, allocations: 406.6 kB / 0.5881 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.3482, allocations: 107.3 kB / 0.5882 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.3482, allocations: 101.7 kB / 0.5883 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.3483, allocations: 190.9 kB / 0.5885 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.3483, allocations: 178.1 kB / 0.5887 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-05/0.3484, allocations: 180.9 kB / 0.5888 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.3485, allocations: 177.9 kB / 0.589 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3486, allocations: 317.8 kB / 0.5893 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.3487, allocations: 184.3 kB / 0.5895 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.3487, allocations: 182.4 kB / 0.5897 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3488, allocations: 102.8 kB / 0.5898 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3489, allocations: 182.2 kB / 0.5899 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.3489, allocations: 110.8 kB / 0.59 GB, free: 11.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.349, allocations: 84.09 kB / 0.5901 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 0.5901 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3493, allocations: 58.98 kB / 0.5902 GB, free: 11.25 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 (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.00078/0.3501, allocations: 0.9691 MB / 0.5911 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.3502, allocations: 12.48 kB / 0.5911 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3502, allocations: 0 / 0.5911 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3502, allocations: 0 / 0.5911 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3505, allocations: 458.1 kB / 0.5916 GB, free: 9.949 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.001079/0.3516, allocations: 1.346 MB / 0.5929 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3518, allocations: 0.6777 MB / 0.5936 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.56e-05/0.3519, allocations: 6.844 kB / 0.5936 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3519, allocations: 10.22 kB / 0.5936 GB, free: 7.879 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3519, allocations: 4 kB / 0.5936 GB, free: 7.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6516/1.004, allocations: 2.592 MB / 0.5961 GB, free: 7.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/8.2, allocations: 5.75 kB / 0.5961 GB, free: 7.422 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/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)