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.004708/0.004708, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001161/0.001161, allocations: 194 kB / 16.67 MB, free: 5.953 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.58 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1269, allocations: 80.19 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002725/0.1296, allocations: 1.64 MB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1312, allocations: 1.172 MB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1313, allocations: 4 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1315, allocations: 19.84 kB / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1317, allocations: 71.62 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1321, allocations: 146.7 kB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1324, allocations: 241.6 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.1325, allocations: 12.52 kB / 0.6624 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.1326, allocations: 95.75 kB / 0.6625 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1328, allocations: 87.77 kB / 0.6626 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1328, allocations: 16 kB / 0.6626 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.133, allocations: 75.97 kB / 0.6627 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1331, allocations: 83.8 kB / 0.6628 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1332, allocations: 107.3 kB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1336, allocations: 278.8 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1336, allocations: 0 / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1336, allocations: 0 / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1336, allocations: 0 / 0.6631 GB, free: 6.699 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.0007697/0.1344, allocations: 0.5496 MB / 0.6637 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1344, allocations: 11.97 kB / 0.6637 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1345, allocations: 54.73 kB / 0.6637 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.1345, allocations: 24.8 kB / 0.6638 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1348, allocations: 265 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1348, allocations: 12.38 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.1349, allocations: 12.38 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1352, allocations: 225.9 kB / 0.6643 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1352, allocations: 0 / 0.6643 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1353, allocations: 8 kB / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1353, allocations: 0 / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.1362, allocations: 0.7334 MB / 0.665 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1371, allocations: 0.576 MB / 0.6655 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.1374, allocations: 239.5 kB / 0.6658 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1376, allocations: 96.81 kB / 0.6659 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.1376, allocations: 27.95 kB / 0.6659 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.138, allocations: 173.5 kB / 0.6661 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.138, allocations: 0 / 0.6661 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006372/0.1386, allocations: 367.7 kB / 0.6664 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.1387, allocations: 140.5 kB / 0.6665 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.139, allocations: 305 kB / 0.6668 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.139, allocations: 29.7 kB / 0.6669 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.1391, allocations: 124.8 kB / 0.667 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.1392, allocations: 122.9 kB / 0.6671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.1393, allocations: 65.69 kB / 0.6672 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1395, allocations: 338.8 kB / 0.6675 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1396, allocations: 75.95 kB / 0.6676 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.1398, allocations: 123.4 kB / 0.6677 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1401, allocations: 209.6 kB / 0.6679 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1401, allocations: 0 / 0.6679 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004168/0.1406, allocations: 269.3 kB / 0.6681 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1406, allocations: 4 kB / 0.6681 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1406, allocations: 0 / 0.6681 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1406, allocations: 7.938 kB / 0.6681 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1408, allocations: 55.97 kB / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1408, allocations: 4 kB / 0.6682 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.141, allocations: 39.7 kB / 0.6682 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.141, allocations: 15.98 kB / 0.6682 GB, free: 1.18 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.0001621/0.1412, allocations: 158.6 kB / 0.6684 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.1412, allocations: 23.86 kB / 0.6684 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.1419, allocations: 376.7 kB / 0.6688 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1419, allocations: 4 kB / 0.6688 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1419, allocations: 0 / 0.6688 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1419, allocations: 3.938 kB / 0.6688 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1422, allocations: 333.3 kB / 0.6691 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1422, allocations: 0 / 0.6691 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.1424, allocations: 63.91 kB / 0.6692 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1424, allocations: 0 / 0.6692 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1424, allocations: 15.94 kB / 0.6692 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1425, allocations: 0 / 0.6692 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1425, allocations: 4 kB / 0.6692 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.1429, allocations: 314.4 kB / 0.6695 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1431, allocations: 148.8 kB / 0.6696 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.1431, allocations: 4 kB / 0.6696 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1433, allocations: 19.98 kB / 0.6697 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1433, allocations: 23.97 kB / 0.6697 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.1434, allocations: 19.92 kB / 0.6697 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002097/0.1436, allocations: 240.4 kB / 0.6699 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1436, allocations: 0 / 0.6699 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002668/0.1439, allocations: 59.94 kB / 0.67 GB, free: 15.3 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.001914/0.1458, allocations: 1.14 MB / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.1462, allocations: 220.3 kB / 0.6713 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1462, allocations: 3.938 kB / 0.6713 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.1464, allocations: 127.8 kB / 0.6714 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.1466, allocations: 44.11 kB / 0.6715 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1493, allocations: 2.443 MB / 0.6739 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1497, allocations: 0.7535 MB / 0.6746 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.15, allocations: 150.8 kB / 0.6747 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1502, allocations: 87.41 kB / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1502, allocations: 0 / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/0.564, allocations: 5.497 MB / 0.6802 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.23, allocations: 6.469 kB / 0.6802 GB, free: 5.023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)