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.005122/0.005122, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.00127/0.00127, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6998/0.6998, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001122, allocations: 69.02 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1283, allocations: 80.21 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002717/0.131, allocations: 1.631 MB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1326, allocations: 1.179 MB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.1327, allocations: 4 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1329, allocations: 23.78 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1332, allocations: 75.61 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1336, allocations: 141.7 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1338, allocations: 241.5 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.1339, allocations: 20.5 kB / 0.6624 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.134, allocations: 87.81 kB / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1342, allocations: 91.7 kB / 0.6626 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1343, allocations: 16 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1344, allocations: 71.98 kB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1346, allocations: 83.78 kB / 0.6628 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1347, allocations: 111.3 kB / 0.6629 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.135, allocations: 282.8 kB / 0.6632 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.135, allocations: 0 / 0.6632 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.135, allocations: 4 kB / 0.6632 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1351, allocations: 0 / 0.6632 GB, free: 9.867 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.0007044/0.1358, allocations: 0.538 MB / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1358, allocations: 8.75 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1359, allocations: 50.67 kB / 0.6637 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.1359, allocations: 32.8 kB / 0.6638 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1362, allocations: 266.5 kB / 0.664 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1362, allocations: 8.375 kB / 0.664 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1363, allocations: 16.38 kB / 0.6641 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1366, allocations: 224.7 kB / 0.6643 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1367, allocations: 0 / 0.6643 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.1367, allocations: 4 kB / 0.6643 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1367, allocations: 4 kB / 0.6643 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.1375, allocations: 0.7334 MB / 0.665 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1384, allocations: 0.5743 MB / 0.6655 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.1388, allocations: 228 kB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.1389, allocations: 100.8 kB / 0.6659 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.139, allocations: 19.97 kB / 0.6659 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.1393, allocations: 177.5 kB / 0.6661 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1393, allocations: 4 kB / 0.6661 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006717/0.14, allocations: 368.9 kB / 0.6664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.14, allocations: 132.5 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.1403, allocations: 305 kB / 0.6668 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1403, allocations: 37.64 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.1404, allocations: 116.8 kB / 0.667 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.1405, allocations: 119 kB / 0.6671 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.1406, allocations: 61.69 kB / 0.6671 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1407, allocations: 342.8 kB / 0.6675 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1409, allocations: 79.95 kB / 0.6675 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.141, allocations: 127.5 kB / 0.6677 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1413, allocations: 209.3 kB / 0.6679 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1413, allocations: 0 / 0.6679 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004009/0.1418, allocations: 269.3 kB / 0.6681 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1418, allocations: 4 kB / 0.6681 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1418, allocations: 0 / 0.6681 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1418, allocations: 8 kB / 0.6681 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.142, allocations: 59.91 kB / 0.6682 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.142, allocations: 3.984 kB / 0.6682 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1422, allocations: 31.78 kB / 0.6682 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1422, allocations: 19.92 kB / 0.6682 GB, free: 4.371 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.0001337/0.1423, allocations: 154.4 kB / 0.6684 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.1424, allocations: 27.86 kB / 0.6684 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.143, allocations: 380.7 kB / 0.6688 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.143, allocations: 4 kB / 0.6688 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.143, allocations: 0 / 0.6688 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1431, allocations: 11.92 kB / 0.6688 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1433, allocations: 325.3 kB / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1433, allocations: 0 / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.1435, allocations: 55.97 kB / 0.6692 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1435, allocations: 4 kB / 0.6692 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1436, allocations: 11.94 kB / 0.6692 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1436, allocations: 3.984 kB / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1436, allocations: 48 / 0.6692 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.144, allocations: 322.4 kB / 0.6695 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1441, allocations: 148.8 kB / 0.6696 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1442, allocations: 4 kB / 0.6696 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1443, allocations: 15.98 kB / 0.6696 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1444, allocations: 27.95 kB / 0.6697 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.1444, allocations: 11.94 kB / 0.6697 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00018/0.1446, allocations: 236.4 kB / 0.6699 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 0.6699 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002698/0.1449, allocations: 59.94 kB / 0.67 GB, free: 2.5 MB / 0.4981 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.001401/0.1463, allocations: 1.15 MB / 0.6711 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1467, allocations: 228.3 kB / 0.6713 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1467, allocations: 0 / 0.6713 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1469, allocations: 119.9 kB / 0.6714 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1471, allocations: 48.41 kB / 0.6715 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.1499, allocations: 2.442 MB / 0.6739 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1502, allocations: 0.7542 MB / 0.6746 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.1505, allocations: 146.8 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1506, allocations: 87.39 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1506, allocations: 0 / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.174, allocations: 5.5 MB / 0.6802 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.216, allocations: 5.562 kB / 0.6802 GB, free: 8.227 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)