Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_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.004464/0.004464, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001239/0.00124, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 68.52 kB / 0.5858 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002836/0.1371, allocations: 1.636 MB / 0.6665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1387, allocations: 1.168 MB / 0.6676 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1388, allocations: 0 / 0.6676 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1389, allocations: 23.84 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1392, allocations: 75.61 kB / 0.6677 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.1396, allocations: 142.8 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1399, allocations: 245.5 kB / 0.6681 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.14, allocations: 16.52 kB / 0.6681 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1401, allocations: 83.81 kB / 0.6682 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1403, allocations: 95.7 kB / 0.6683 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.1403, allocations: 16 kB / 0.6683 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1405, allocations: 75.92 kB / 0.6684 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.1406, allocations: 79.8 kB / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1407, allocations: 111.3 kB / 0.6685 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1411, allocations: 286.8 kB / 0.6688 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1411, allocations: 4 kB / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1411, allocations: 0 / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1411, allocations: 4 kB / 0.6688 GB, free: 1.551 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.000744/0.1419, allocations: 0.5302 MB / 0.6693 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1419, allocations: 17.03 kB / 0.6694 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.142, allocations: 50.69 kB / 0.6694 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.142, allocations: 36.73 kB / 0.6694 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1423, allocations: 264.7 kB / 0.6697 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1423, allocations: 12.38 kB / 0.6697 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1424, allocations: 16.38 kB / 0.6697 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1427, allocations: 221.2 kB / 0.6699 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1428, allocations: 0 / 0.6699 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1428, allocations: 7.984 kB / 0.6699 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1428, allocations: 4 kB / 0.6699 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.1437, allocations: 0.7334 MB / 0.6707 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.1446, allocations: 0.5744 MB / 0.6712 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.145, allocations: 227.5 kB / 0.6714 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1452, allocations: 102.1 kB / 0.6715 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.1453, allocations: 19.95 kB / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.1456, allocations: 182 kB / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1456, allocations: 0 / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0006674/0.1463, allocations: 374.9 kB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.1464, allocations: 132.5 kB / 0.6722 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1467, allocations: 301 kB / 0.6725 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1467, allocations: 33.7 kB / 0.6725 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.1468, allocations: 120.8 kB / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.1469, allocations: 115 kB / 0.6727 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/0.147, allocations: 61.69 kB / 0.6728 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1472, allocations: 342.8 kB / 0.6731 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1473, allocations: 83.89 kB / 0.6732 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1475, allocations: 124.5 kB / 0.6733 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1479, allocations: 209.2 kB / 0.6735 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1479, allocations: 0 / 0.6735 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004424/0.1483, allocations: 269.4 kB / 0.6738 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1483, allocations: 5.719 kB / 0.6738 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1483, allocations: 0 / 0.6738 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1484, allocations: 7.938 kB / 0.6738 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1486, allocations: 67.89 kB / 0.6739 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1486, allocations: 0 / 0.6739 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1488, allocations: 34.67 kB / 0.6739 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.1488, allocations: 19.98 kB / 0.6739 GB, free: 12.05 MB / 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 (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.0001576/0.149, allocations: 157.8 kB / 0.6741 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.149, allocations: 27.86 kB / 0.6741 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.1497, allocations: 381 kB / 0.6745 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1497, allocations: 4 kB / 0.6745 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1497, allocations: 0 / 0.6745 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1497, allocations: 7.922 kB / 0.6745 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1501, allocations: 329.3 kB / 0.6748 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1501, allocations: 0 / 0.6748 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1503, allocations: 55.91 kB / 0.6748 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1503, allocations: 4 kB / 0.6748 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1503, allocations: 11.98 kB / 0.6749 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1503, allocations: 0 / 0.6749 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1503, allocations: 0 / 0.6749 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1508, allocations: 309.9 kB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.151, allocations: 148.8 kB / 0.6753 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.151, allocations: 8 kB / 0.6753 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1512, allocations: 15.98 kB / 0.6753 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1512, allocations: 27.95 kB / 0.6753 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1513, allocations: 19.94 kB / 0.6754 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002218/0.1515, allocations: 232.4 kB / 0.6756 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1515, allocations: 0 / 0.6756 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002805/0.1518, allocations: 59.94 kB / 0.6756 GB, free: 10.18 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.002048/0.1538, allocations: 1.154 MB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1542, allocations: 223.8 kB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1543, allocations: 0 / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1545, allocations: 123.8 kB / 0.6771 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1547, allocations: 36.91 kB / 0.6771 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1577, allocations: 2.453 MB / 0.6795 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1581, allocations: 0.7579 MB / 0.6803 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003168/0.1584, allocations: 142.9 kB / 0.6804 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1586, allocations: 87.39 kB / 0.6805 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1586, allocations: 0 / 0.6805 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/0.4554, allocations: 5.495 MB / 0.6859 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.789/9.245, allocations: 8.75 kB / 0.6859 GB, free: 15.86 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)