Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.007327/0.007327, allocations: 102 kB / 15.73 MB, free: 6.051 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.001474/0.001474, allocations: 196.5 kB / 16.68 MB, free: 5.965 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8491/0.8491, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.45 kB / 0.5809 GB, free: 24.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1283, allocations: 80.19 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003037/0.1314, allocations: 1.648 MB / 0.6608 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1332, allocations: 1.164 MB / 0.662 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1333, allocations: 0 / 0.662 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1335, allocations: 31.78 kB / 0.662 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1338, allocations: 63.69 kB / 0.662 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1342, allocations: 149.9 kB / 0.6622 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.1346, allocations: 245.5 kB / 0.6624 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.1347, allocations: 16.5 kB / 0.6624 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1348, allocations: 83.81 kB / 0.6625 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.135, allocations: 95.77 kB / 0.6626 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.1351, allocations: 16 kB / 0.6626 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1352, allocations: 79.91 kB / 0.6627 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1354, allocations: 91.67 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1355, allocations: 99.39 kB / 0.6629 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1359, allocations: 282.8 kB / 0.6631 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1359, allocations: 0 / 0.6631 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1359, allocations: 0 / 0.6631 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1359, allocations: 0 / 0.6631 GB, free: 6.797 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008179/0.1367, allocations: 0.5496 MB / 0.6637 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1368, allocations: 8.031 kB / 0.6637 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.1368, allocations: 50.73 kB / 0.6637 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.1369, allocations: 24.8 kB / 0.6638 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1372, allocations: 265 kB / 0.664 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1373, allocations: 16.36 kB / 0.664 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1373, allocations: 12.38 kB / 0.664 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.1377, allocations: 221.9 kB / 0.6643 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1377, allocations: 0 / 0.6643 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1377, allocations: 4 kB / 0.6643 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1377, allocations: 4 kB / 0.6643 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.1387, allocations: 0.7334 MB / 0.665 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.1397, allocations: 0.5782 MB / 0.6655 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.1401, allocations: 231.5 kB / 0.6658 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1403, allocations: 100.8 kB / 0.6659 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.1403, allocations: 19.95 kB / 0.6659 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.1407, allocations: 173.5 kB / 0.666 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.1407, allocations: 0 / 0.666 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007304/0.1414, allocations: 375.7 kB / 0.6664 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1415, allocations: 132.5 kB / 0.6665 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1419, allocations: 305 kB / 0.6668 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1419, allocations: 37.7 kB / 0.6669 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.142, allocations: 120.8 kB / 0.667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1421, allocations: 123 kB / 0.6671 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1423, allocations: 61.69 kB / 0.6671 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1424, allocations: 338.8 kB / 0.6675 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1426, allocations: 79.95 kB / 0.6675 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1428, allocations: 123.4 kB / 0.6677 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1432, allocations: 209.5 kB / 0.6679 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1432, allocations: 0 / 0.6679 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004786/0.1437, allocations: 273.3 kB / 0.6681 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1437, allocations: 5.875 kB / 0.6681 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1437, allocations: 4 kB / 0.6681 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1437, allocations: 4 kB / 0.6681 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1439, allocations: 63.78 kB / 0.6682 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.144, allocations: 4 kB / 0.6682 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1441, allocations: 39.77 kB / 0.6682 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1442, allocations: 8 kB / 0.6683 GB, free: 1.285 MB / 0.4981 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 (34): * Single equations (assignments): 34 * 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.0001789/0.1443, allocations: 166.6 kB / 0.6684 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.1444, allocations: 23.86 kB / 0.6684 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/0.1452, allocations: 372.8 kB / 0.6688 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1452, allocations: 4 kB / 0.6688 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1452, allocations: 0 / 0.6688 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1452, allocations: 3.938 kB / 0.6688 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1456, allocations: 329.3 kB / 0.6691 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1456, allocations: 0 / 0.6691 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.1457, allocations: 55.91 kB / 0.6692 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1458, allocations: 8 kB / 0.6692 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1458, allocations: 8 kB / 0.6692 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1458, allocations: 0 / 0.6692 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1458, allocations: 0 / 0.6692 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1463, allocations: 326.3 kB / 0.6695 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1465, allocations: 144.8 kB / 0.6696 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1465, allocations: 8 kB / 0.6696 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1467, allocations: 19.98 kB / 0.6697 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.1468, allocations: 19.97 kB / 0.6697 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.1468, allocations: 23.92 kB / 0.6697 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000241/0.1471, allocations: 232.5 kB / 0.6699 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1471, allocations: 4 kB / 0.6699 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002926/0.1474, allocations: 55.92 kB / 0.67 GB, free: 15.41 MB / 0.5137 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 (33): * Single equations (assignments): 32 * 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.002173/0.1496, allocations: 1.143 MB / 0.6711 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.15, allocations: 228.3 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.15, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1502, allocations: 127.8 kB / 0.6714 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1505, allocations: 39.34 kB / 0.6715 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.1536, allocations: 2.443 MB / 0.6739 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1539, allocations: 0.7574 MB / 0.6746 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.1543, allocations: 143 kB / 0.6747 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1544, allocations: 87.39 kB / 0.6748 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1545, allocations: 0 / 0.6748 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.1834, allocations: 5.496 MB / 0.6802 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.15, allocations: 14.34 kB / 0.6802 GB, free: 5.121 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)