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.0007331/0.0007332, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004883/0.004883, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6955/0.6955, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3446, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001197/0.3459, allocations: 1.006 MB / 0.5847 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3477, allocations: 1.421 MB / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.3477, allocations: 0 / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3478, allocations: 0 / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3479, allocations: 12.38 kB / 0.5861 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.3485, allocations: 185.4 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.3486, allocations: 27.02 kB / 0.5863 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3486, allocations: 1.484 kB / 0.5863 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.3487, allocations: 22.62 kB / 0.5864 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3488, allocations: 8 kB / 0.5864 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3488, allocations: 4.812 kB / 0.5864 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3491, allocations: 151.1 kB / 0.5865 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.3492, allocations: 6.75 kB / 0.5865 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3492, allocations: 31.8 kB / 0.5866 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.3495, allocations: 150.4 kB / 0.5867 GB, free: 2.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3495, allocations: 0.7188 kB / 0.5867 GB, free: 2.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3495, allocations: 0 / 0.5867 GB, free: 2.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3495, allocations: 0 / 0.5867 GB, free: 2.055 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.000284/0.3498, allocations: 364.1 kB / 0.587 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3498, allocations: 9.469 kB / 0.5871 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.3499, allocations: 110 kB / 0.5872 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.3499, allocations: 78.69 kB / 0.5872 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.35, allocations: 243.7 kB / 0.5875 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.35, allocations: 151.8 kB / 0.5876 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.3501, allocations: 161.7 kB / 0.5878 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.536e-05/0.3501, allocations: 101.7 kB / 0.5879 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3501, allocations: 80.41 kB / 0.5879 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3502, allocations: 150.6 kB / 0.5881 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3502, allocations: 152.5 kB / 0.5882 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.3502, allocations: 150.6 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.3504, allocations: 459.3 kB / 0.5888 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.932e-05/0.3505, allocations: 182.8 kB / 0.589 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.3505, allocations: 80.14 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3506, allocations: 75.28 kB / 0.5891 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3506, allocations: 107.9 kB / 0.5892 GB, free: 15.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3506, allocations: 0 / 0.5892 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.634e-05/0.3507, allocations: 36.45 kB / 0.5893 GB, free: 15.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3507, allocations: 129 kB / 0.5894 GB, free: 15.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.3508, allocations: 106.3 kB / 0.5895 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3509, allocations: 31.05 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.3509, allocations: 82.14 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.3509, allocations: 3.938 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.3509, allocations: 12.03 kB / 0.5896 GB, free: 14.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.351, allocations: 316.6 kB / 0.5899 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.3511, allocations: 7.078 kB / 0.5899 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.3511, allocations: 27.08 kB / 0.5899 GB, free: 14.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.3511, allocations: 32.28 kB / 0.59 GB, free: 14.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3512, allocations: 1.297 kB / 0.59 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.3513, allocations: 56.75 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3513, allocations: 6.859 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3513, allocations: 0 / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3513, allocations: 1.094 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.3514, allocations: 6.266 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3514, allocations: 1.062 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3516, allocations: 6.703 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3516, allocations: 3.312 kB / 0.5901 GB, free: 14.48 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.0001135/0.3517, allocations: 198.4 kB / 0.5902 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.3518, allocations: 106.2 kB / 0.5903 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.3519, allocations: 106.7 kB / 0.5905 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.084e-05/0.352, allocations: 181.8 kB / 0.5906 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.586e-05/0.352, allocations: 178.7 kB / 0.5908 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.447e-05/0.3521, allocations: 177.9 kB / 0.591 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3524, allocations: 418.8 kB / 0.5914 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/0.3524, allocations: 102.2 kB / 0.5915 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.3524, allocations: 107 kB / 0.5916 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.767e-05/0.3525, allocations: 177.6 kB / 0.5917 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.3525, allocations: 182.3 kB / 0.5919 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/0.3526, allocations: 185.6 kB / 0.5921 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-05/0.3526, allocations: 178.4 kB / 0.5923 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3528, allocations: 313.4 kB / 0.5926 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.3528, allocations: 184.3 kB / 0.5927 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.3529, allocations: 187.2 kB / 0.5929 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.353, allocations: 102.5 kB / 0.593 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.353, allocations: 186 kB / 0.5932 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.3531, allocations: 103.3 kB / 0.5933 GB, free: 11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.3531, allocations: 84.95 kB / 0.5934 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3531, allocations: 0 / 0.5934 GB, free: 10.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.3535, allocations: 55.33 kB / 0.5934 GB, free: 10.91 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.0007413/0.3542, allocations: 0.9733 MB / 0.5944 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.3543, allocations: 7.844 kB / 0.5944 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3543, allocations: 0 / 0.5944 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.3543, allocations: 5.438 kB / 0.5944 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3546, allocations: 0.5247 MB / 0.5949 GB, free: 9.52 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.0009694/0.3556, allocations: 1.348 MB / 0.5962 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3558, allocations: 0.6737 MB / 0.5969 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.3558, allocations: 11.44 kB / 0.5969 GB, free: 7.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3559, allocations: 10.22 kB / 0.5969 GB, free: 7.445 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3559, allocations: 0 / 0.5969 GB, free: 7.445 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/0.7203, allocations: 2.382 MB / 0.5992 GB, free: 7.219 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.7206, allocations: 263.9 kB / 0.5995 GB, free: 6.863 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.446, allocations: 0 / 0.5995 GB, free: 6.863 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)