Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_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.004674/0.004674, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001211/0.001211, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.198/1.198, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 279.1 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8693/0.8693, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 96.17 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.133, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001954/0.1349, allocations: 1.27 MB / 0.7672 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1368, allocations: 1.441 MB / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1368, allocations: 0 / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1368, allocations: 0 / 0.7686 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.137, allocations: 15.92 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.1376, allocations: 224.2 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.1376, allocations: 23.92 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.1377, allocations: 0 / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.1378, allocations: 15.97 kB / 0.7688 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.715e-05/0.1379, allocations: 15.94 kB / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.1379, allocations: 0 / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.1381, allocations: 171.8 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1382, allocations: 0 / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.1382, allocations: 15.92 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1384, allocations: 147.9 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1384, allocations: 3.938 kB / 0.7692 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1384, allocations: 0 / 0.7692 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1384, allocations: 0 / 0.7692 GB, free: 5.559 MB / 0.5606 GB 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.0003175/0.1388, allocations: 375 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1388, allocations: 8.031 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1388, allocations: 106 kB / 0.7696 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.1389, allocations: 80.22 kB / 0.7697 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.139, allocations: 247.6 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.1391, allocations: 154.9 kB / 0.7701 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1392, allocations: 154.5 kB / 0.7702 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.484e-05/0.1392, allocations: 105 kB / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.1392, allocations: 79.28 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.1393, allocations: 158.5 kB / 0.7706 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.1393, allocations: 158.4 kB / 0.7707 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.1394, allocations: 150.6 kB / 0.7709 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1396, allocations: 449.9 kB / 0.7713 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.1397, allocations: 173.1 kB / 0.7715 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.1397, allocations: 88.08 kB / 0.7715 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1398, allocations: 75.28 kB / 0.7716 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.1398, allocations: 113.8 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1398, allocations: 0 / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.363e-05/0.1399, allocations: 25.7 kB / 0.7718 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1399, allocations: 130.7 kB / 0.7719 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.14, allocations: 109.8 kB / 0.772 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.14, allocations: 25.7 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.1401, allocations: 88.14 kB / 0.7721 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1401, allocations: 0 / 0.7721 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1401, allocations: 17.7 kB / 0.7721 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.1402, allocations: 318.8 kB / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1402, allocations: 0 / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.1403, allocations: 34.75 kB / 0.7724 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.1403, allocations: 22.58 kB / 0.7725 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1403, allocations: 4 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001175/0.1405, allocations: 53.56 kB / 0.7725 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1405, allocations: 8.094 kB / 0.7725 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1405, allocations: 4 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1405, allocations: 0 / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.1406, allocations: 7.938 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1406, allocations: 7.984 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1407, allocations: 7.984 kB / 0.7726 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1407, allocations: 0 / 0.7726 GB, free: 1.832 MB / 0.5606 GB 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.276e-05/0.1408, allocations: 193.7 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1409, allocations: 109 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.1409, allocations: 112 kB / 0.7729 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/0.141, allocations: 176.3 kB / 0.7731 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/0.141, allocations: 180.3 kB / 0.7733 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.167e-05/0.1411, allocations: 184.2 kB / 0.7735 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1413, allocations: 405.2 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.1413, allocations: 108.9 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1413, allocations: 105 kB / 0.7741 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2569/0.3983, allocations: 184.2 kB / 0.7742 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.3983, allocations: 179.6 kB / 0.7744 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/0.3983, allocations: 177.2 kB / 0.7746 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/0.3984, allocations: 180.1 kB / 0.7747 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.964e-05/0.3984, allocations: 309.3 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.3985, allocations: 184.3 kB / 0.7752 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3985, allocations: 184.6 kB / 0.7754 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.3986, allocations: 102.3 kB / 0.7755 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3986, allocations: 181.8 kB / 0.7757 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3986, allocations: 106.2 kB / 0.7758 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.3987, allocations: 83.11 kB / 0.7758 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 4.141 kB / 0.7758 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003437/0.399, allocations: 57.61 kB / 0.7759 GB, free: 13.47 MB / 0.5606 GB 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.0005657/0.3996, allocations: 0.9743 MB / 0.7769 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.3997, allocations: 14.75 kB / 0.7769 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3997, allocations: 0.7812 kB / 0.7769 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.3997, allocations: 3.844 kB / 0.7769 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.3999, allocations: 454.1 kB / 0.7773 GB, free: 12.22 MB / 0.5606 GB 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.0007179/0.4006, allocations: 1.358 MB / 0.7786 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.4007, allocations: 0.6771 MB / 0.7793 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.4008, allocations: 6.25 kB / 0.7793 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.4008, allocations: 11.36 kB / 0.7793 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4008, allocations: 0 / 0.7793 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2832/0.684, allocations: 2.648 MB / 0.7819 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.532/7.216, allocations: 22.03 kB / 0.7819 GB, free: 9.789 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)