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.000753/0.0007528, allocations: 96.27 kB / 15.69 MB, free: 480 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.0008028/0.0008028, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.14/1.14, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5791/0.5791, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001113/0.1156, allocations: 0.9745 MB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1172, allocations: 1.33 MB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.1172, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1173, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1174, allocations: 19.86 kB / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.1178, allocations: 175.4 kB / 0.5592 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.986e-05/0.1179, allocations: 15.92 kB / 0.5592 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1179, allocations: 7.984 kB / 0.5592 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.118, allocations: 15.98 kB / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.1181, allocations: 15.91 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-06/0.1181, allocations: 0 / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.1183, allocations: 119.9 kB / 0.5593 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1183, allocations: 7.984 kB / 0.5593 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1184, allocations: 29.7 kB / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1185, allocations: 99.8 kB / 0.5595 GB, free: 8.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1185, allocations: 0 / 0.5595 GB, free: 8.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1185, allocations: 0 / 0.5595 GB, free: 8.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1185, allocations: 0 / 0.5595 GB, free: 8.883 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.0002896/0.1188, allocations: 359.6 kB / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1189, allocations: 8.031 kB / 0.5598 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.1189, allocations: 109.8 kB / 0.5599 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.119, allocations: 91.17 kB / 0.56 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1191, allocations: 238.3 kB / 0.5602 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.1191, allocations: 154.6 kB / 0.5604 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.1192, allocations: 150.6 kB / 0.5605 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.852e-05/0.1193, allocations: 108.9 kB / 0.5606 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1193, allocations: 79.28 kB / 0.5607 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.1193, allocations: 154.6 kB / 0.5609 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.1194, allocations: 150.6 kB / 0.561 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.1194, allocations: 154.5 kB / 0.5611 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1197, allocations: 453.9 kB / 0.5616 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.1198, allocations: 169.1 kB / 0.5617 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1198, allocations: 79.28 kB / 0.5618 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1198, allocations: 109.8 kB / 0.5619 GB, free: 6.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1198, allocations: 0 / 0.5619 GB, free: 6.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.541e-05/0.1199, allocations: 33.59 kB / 0.562 GB, free: 6.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1199, allocations: 126.7 kB / 0.5621 GB, free: 6.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.12, allocations: 113.8 kB / 0.5622 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.12, allocations: 25.7 kB / 0.5622 GB, free: 5.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.1201, allocations: 84.14 kB / 0.5623 GB, free: 5.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.1201, allocations: 0 / 0.5623 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1201, allocations: 4 kB / 0.5623 GB, free: 5.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.1202, allocations: 310.8 kB / 0.5626 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1202, allocations: 4 kB / 0.5626 GB, free: 5.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1202, allocations: 34.55 kB / 0.5626 GB, free: 5.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.765e-05/0.1203, allocations: 4 kB / 0.5626 GB, free: 5.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1203, allocations: 0 / 0.5626 GB, free: 5.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.788e-05/0.1204, allocations: 49.62 kB / 0.5627 GB, free: 5.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1204, allocations: 8 kB / 0.5627 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1204, allocations: 0 / 0.5627 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.1204, allocations: 3.938 kB / 0.5627 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.1205, allocations: 15.98 kB / 0.5627 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1205, allocations: 4 kB / 0.5627 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1206, allocations: 12.14 kB / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1206, allocations: 0 / 0.5627 GB, free: 5.309 MB / 430.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 7.775e-05/0.1207, allocations: 189.1 kB / 0.5629 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1208, allocations: 113 kB / 0.563 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1208, allocations: 116.1 kB / 0.5631 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.1209, allocations: 180.3 kB / 0.5633 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/0.1209, allocations: 184.2 kB / 0.5635 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/0.121, allocations: 176.3 kB / 0.5636 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1212, allocations: 405.2 kB / 0.564 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/0.1212, allocations: 104.9 kB / 0.5641 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.1212, allocations: 109 kB / 0.5642 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-05/0.1213, allocations: 184.2 kB / 0.5644 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.1213, allocations: 180.3 kB / 0.5646 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.171e-05/0.1214, allocations: 176.3 kB / 0.5647 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-05/0.1214, allocations: 184.2 kB / 0.5649 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1215, allocations: 311.9 kB / 0.5652 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1216, allocations: 186.1 kB / 0.5654 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.1217, allocations: 176.3 kB / 0.5656 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1217, allocations: 104.9 kB / 0.5657 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1218, allocations: 188.2 kB / 0.5658 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.1218, allocations: 108.9 kB / 0.5659 GB, free: 1.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.1219, allocations: 83.28 kB / 0.566 GB, free: 1.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1219, allocations: 0 / 0.566 GB, free: 1.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1221, allocations: 55.94 kB / 0.5661 GB, free: 1.641 MB / 430.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.0006382/0.1228, allocations: 0.9758 MB / 0.567 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.448e-05/0.1228, allocations: 7.938 kB / 0.567 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1228, allocations: 0 / 0.567 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1229, allocations: 0 / 0.567 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1231, allocations: 0.5236 MB / 0.5675 GB, free: 148 kB / 430.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.0005091/0.1236, allocations: 0.7134 MB / 0.5682 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1238, allocations: 0.6731 MB / 0.5689 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.1239, allocations: 3.984 kB / 0.5689 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.1239, allocations: 11.44 kB / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1239, allocations: 0 / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 20.58/20.7, allocations: 2.313 MB / 0.5712 GB, free: 12.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/20.7, allocations: 250.1 kB / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/22.27, allocations: 5.938 kB / 0.5714 GB, free: 12.21 MB / 446.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/linux/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) Environment - environmentSimulation: