Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.005943/0.005943, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001416/0.001416, allocations: 190 kB / 16.67 MB, free: 5.934 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8033/0.8033, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 65.12 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1376, allocations: 82.04 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002821/0.1405, allocations: 1.842 MB / 0.677 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1425, allocations: 1.581 MB / 0.6785 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.1426, allocations: 4 kB / 0.6785 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1428, allocations: 27.8 kB / 0.6786 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1431, allocations: 74.84 kB / 0.6786 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1436, allocations: 178.5 kB / 0.6788 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1439, allocations: 273.4 kB / 0.6791 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.144, allocations: 37.33 kB / 0.6791 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1441, allocations: 95.75 kB / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1443, allocations: 107.6 kB / 0.6793 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.1444, allocations: 16 kB / 0.6793 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1445, allocations: 83.95 kB / 0.6794 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.1446, allocations: 91.8 kB / 0.6795 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1447, allocations: 123.3 kB / 0.6796 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1451, allocations: 326.6 kB / 0.6799 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1451, allocations: 0 / 0.6799 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1451, allocations: 4 kB / 0.6799 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1451, allocations: 0 / 0.6799 GB, free: 5.98 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007538/0.1459, allocations: 0.5574 MB / 0.6804 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1459, allocations: 12.03 kB / 0.6805 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.146, allocations: 46.73 kB / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1462, allocations: 36.73 kB / 0.6805 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1465, allocations: 282.9 kB / 0.6808 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1465, allocations: 16.38 kB / 0.6808 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1465, allocations: 23.94 kB / 0.6808 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1469, allocations: 232.5 kB / 0.6811 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1469, allocations: 0 / 0.6811 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1469, allocations: 8 kB / 0.6811 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.147, allocations: 7.984 kB / 0.6811 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.1477, allocations: 0.7451 MB / 0.6818 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.1487, allocations: 0.633 MB / 0.6824 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.1491, allocations: 306.5 kB / 0.6827 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1493, allocations: 109.4 kB / 0.6828 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1493, allocations: 20.25 kB / 0.6828 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.1497, allocations: 183.5 kB / 0.683 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1497, allocations: 0 / 0.683 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006564/0.1504, allocations: 387 kB / 0.6834 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.1504, allocations: 132.5 kB / 0.6835 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1507, allocations: 309 kB / 0.6838 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1507, allocations: 45.58 kB / 0.6839 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1508, allocations: 132.7 kB / 0.684 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.1509, allocations: 119 kB / 0.6841 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.151, allocations: 69.67 kB / 0.6842 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1511, allocations: 342.8 kB / 0.6845 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1512, allocations: 79.95 kB / 0.6846 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1514, allocations: 123.2 kB / 0.6847 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1517, allocations: 217.5 kB / 0.6849 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1517, allocations: 0 / 0.6849 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003992/0.1521, allocations: 281.1 kB / 0.6852 GB, free: 320 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1521, allocations: 8 kB / 0.6852 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1521, allocations: 0 / 0.6852 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1522, allocations: 3.938 kB / 0.6852 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1524, allocations: 63.91 kB / 0.6852 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1524, allocations: 4 kB / 0.6852 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1525, allocations: 27.83 kB / 0.6853 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1526, allocations: 16 kB / 0.6853 GB, free: 196 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001392/0.1527, allocations: 165.7 kB / 0.6854 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.1528, allocations: 24.05 kB / 0.6855 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/0.1534, allocations: 392.4 kB / 0.6858 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1534, allocations: 4 kB / 0.6858 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1534, allocations: 4 kB / 0.6858 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1535, allocations: 0 / 0.6858 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1538, allocations: 345.3 kB / 0.6862 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1538, allocations: 0 / 0.6862 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1539, allocations: 55.91 kB / 0.6862 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.154, allocations: 4 kB / 0.6862 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.154, allocations: 15.94 kB / 0.6862 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.154, allocations: 3.984 kB / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.154, allocations: 0 / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.1544, allocations: 330.1 kB / 0.6866 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1546, allocations: 140.8 kB / 0.6867 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.1546, allocations: 15.92 kB / 0.6867 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1548, allocations: 23.98 kB / 0.6867 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1549, allocations: 27.91 kB / 0.6868 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1549, allocations: 15.98 kB / 0.6868 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001816/0.1551, allocations: 244.4 kB / 0.687 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1551, allocations: 0 / 0.687 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002786/0.1554, allocations: 63.94 kB / 0.6871 GB, free: 14.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001389/0.1568, allocations: 1.153 MB / 0.6882 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.1572, allocations: 235.7 kB / 0.6884 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1572, allocations: 0 / 0.6884 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1574, allocations: 135.8 kB / 0.6885 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1576, allocations: 42.27 kB / 0.6886 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.1601, allocations: 2.537 MB / 0.6911 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1604, allocations: 0.7582 MB / 0.6918 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.1607, allocations: 142.9 kB / 0.6919 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1609, allocations: 99.39 kB / 0.692 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1609, allocations: 4 kB / 0.692 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1829, allocations: 6.018 MB / 0.6979 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.511, allocations: 10.84 kB / 0.6979 GB, free: 3.316 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)