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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 107.3 kB / 16.4 MB, free: 6.48 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.0009446/0.0009446, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6556/0.6556, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 66.56 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001844/0.1204, allocations: 1.258 MB / 0.6328 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1222, allocations: 1.433 MB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.1222, allocations: 7.938 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1223, allocations: 3.984 kB / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1224, allocations: 15.88 kB / 0.6343 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.123, allocations: 216.4 kB / 0.6345 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.123, allocations: 23.92 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.1231, allocations: 0 / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.1231, allocations: 27.91 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.1232, allocations: 7.938 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.1233, allocations: 4 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1235, allocations: 171.8 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1235, allocations: 0 / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.1236, allocations: 7.984 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1238, allocations: 151.8 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1238, allocations: 0 / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1238, allocations: 0 / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1238, allocations: 0 / 0.6348 GB, free: 1.578 MB / 478.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.0003233/0.1241, allocations: 374.2 kB / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1242, allocations: 8.031 kB / 0.6352 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.1242, allocations: 110 kB / 0.6353 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1243, allocations: 80.22 kB / 0.6354 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1244, allocations: 235.7 kB / 0.6356 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1245, allocations: 158.9 kB / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1245, allocations: 154.5 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.3e-05/0.1246, allocations: 113 kB / 0.636 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.1246, allocations: 83.28 kB / 0.6361 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.1247, allocations: 150.6 kB / 0.6362 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.1247, allocations: 150.6 kB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.1248, allocations: 150.6 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.125, allocations: 457.9 kB / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.1251, allocations: 181.1 kB / 0.6371 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1251, allocations: 80.14 kB / 0.6372 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1252, allocations: 79.28 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1252, allocations: 105.8 kB / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1252, allocations: 0 / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.381e-05/0.1253, allocations: 33.64 kB / 0.6374 GB, free: 14.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1253, allocations: 134.6 kB / 0.6375 GB, free: 14.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.1254, allocations: 102.4 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1254, allocations: 25.7 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.1255, allocations: 92.05 kB / 0.6378 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1255, allocations: 0 / 0.6378 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1255, allocations: 21.64 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.1256, allocations: 322.8 kB / 0.6381 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.1256, allocations: 0 / 0.6381 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.1257, allocations: 26.56 kB / 0.6381 GB, free: 13.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.1257, allocations: 26.52 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1257, allocations: 256 / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.1258, allocations: 57.56 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1259, allocations: 8 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1259, allocations: 4 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1259, allocations: 0 / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.126, allocations: 4 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.126, allocations: 7.984 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1261, allocations: 8.219 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1261, allocations: 0 / 0.6382 GB, free: 13.85 MB / 494.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 8.779e-05/0.1262, allocations: 197.2 kB / 0.6384 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1263, allocations: 108.9 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.1263, allocations: 108.1 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/0.1264, allocations: 180.2 kB / 0.6388 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.78e-05/0.1264, allocations: 176.3 kB / 0.639 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-05/0.1265, allocations: 184.3 kB / 0.6391 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1267, allocations: 409.1 kB / 0.6395 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.154e-05/0.1268, allocations: 101 kB / 0.6396 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.1268, allocations: 112.9 kB / 0.6397 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.134e-05/0.1269, allocations: 180.3 kB / 0.6399 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.1269, allocations: 176.3 kB / 0.6401 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.654e-05/0.127, allocations: 188.2 kB / 0.6402 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.347e-05/0.127, allocations: 180.3 kB / 0.6404 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1271, allocations: 311.7 kB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.1272, allocations: 182 kB / 0.6409 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.1273, allocations: 180.3 kB / 0.6411 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1274, allocations: 104.9 kB / 0.6412 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1274, allocations: 188.2 kB / 0.6413 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.1275, allocations: 105 kB / 0.6414 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1275, allocations: 79.28 kB / 0.6415 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1275, allocations: 0 / 0.6415 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1278, allocations: 55.98 kB / 0.6416 GB, free: 10.2 MB / 494.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.0007159/0.1285, allocations: 0.982 MB / 0.6425 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.1286, allocations: 8 kB / 0.6425 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1286, allocations: 0 / 0.6425 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/0.1286, allocations: 12.12 kB / 0.6425 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1289, allocations: 454.2 kB / 0.643 GB, free: 8.754 MB / 494.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.0009811/0.1299, allocations: 1.353 MB / 0.6443 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.1301, allocations: 0.669 MB / 0.645 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.1302, allocations: 7.984 kB / 0.645 GB, free: 6.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.1302, allocations: 7.438 kB / 0.645 GB, free: 6.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1302, allocations: 0 / 0.645 GB, free: 6.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.3708, allocations: 2.633 MB / 0.6475 GB, free: 4.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/7.115, allocations: 14.19 kB / 0.6476 GB, free: 4.105 MB / 494.1 MB (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 --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)