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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.251/1.251, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.586/2.586, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 106 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.142e-05/7.153e-05, allocations: 4.562 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9979/1.244, allocations: 114.9 MB / 0.7528 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.245, allocations: 86.27 kB / 0.7528 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/1.274, allocations: 8.137 MB / 0.7608 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/1.274, allocations: 0 / 0.7608 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.692e-05/1.274, allocations: 3.75 kB / 0.7608 GB, free: 25.83 MB / 0.5105 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.001192/1.275, allocations: 487.2 kB / 0.7613 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/1.275, allocations: 11.03 kB / 0.7613 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/1.276, allocations: 50.95 kB / 0.7613 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/1.276, allocations: 26.72 kB / 0.7613 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/1.276, allocations: 273.8 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/1.276, allocations: 9.875 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/1.276, allocations: 14.62 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/1.277, allocations: 208.8 kB / 0.7618 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.277, allocations: 0 / 0.7618 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/1.277, allocations: 6.625 kB / 0.7618 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.277, allocations: 3.875 kB / 0.7618 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.278, allocations: 0.7288 MB / 0.7625 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/1.28, allocations: 0.5682 MB / 0.7631 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/1.28, allocations: 226.4 kB / 0.7633 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/1.28, allocations: 100.4 kB / 0.7634 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/1.28, allocations: 19.44 kB / 0.7634 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/1.281, allocations: 169.3 kB / 0.7636 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.257e-06/1.281, allocations: 0 / 0.7636 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0007718/1.282, allocations: 275.2 kB / 0.7639 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/1.282, allocations: 136.3 kB / 0.764 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/1.282, allocations: 264.7 kB / 0.7642 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/1.282, allocations: 36.48 kB / 0.7643 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.282, allocations: 121.7 kB / 0.7644 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.282, allocations: 115.2 kB / 0.7645 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.283, allocations: 6.562 kB / 0.7645 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.283, allocations: 337.2 kB / 0.7648 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/1.283, allocations: 75.02 kB / 0.7649 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/1.283, allocations: 121.7 kB / 0.765 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/1.283, allocations: 103.1 kB / 0.7651 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.283, allocations: 0 / 0.7651 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005833/1.284, allocations: 271.3 kB / 0.7654 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.284, allocations: 4.625 kB / 0.7654 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.284, allocations: 0 / 0.7654 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.284, allocations: 3.844 kB / 0.7654 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/1.284, allocations: 61.16 kB / 0.7654 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.284, allocations: 0 / 0.7654 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/1.285, allocations: 34.66 kB / 0.7655 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/1.285, allocations: 11.34 kB / 0.7655 GB, free: 23.12 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.285, allocations: 118.4 kB / 0.7656 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/1.285, allocations: 31.05 kB / 0.7656 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/1.286, allocations: 373.3 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.286, allocations: 3.844 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.286, allocations: 4 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.286, allocations: 3.984 kB / 0.766 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/1.287, allocations: 340.5 kB / 0.7663 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.287, allocations: 0 / 0.7663 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/1.287, allocations: 56.62 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.287, allocations: 3.469 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/1.287, allocations: 11.2 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.287, allocations: 0 / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.287, allocations: 3.781 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/1.288, allocations: 311.2 kB / 0.7667 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/1.288, allocations: 155.2 kB / 0.7668 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/1.288, allocations: 7.156 kB / 0.7668 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/1.288, allocations: 19.27 kB / 0.7669 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/1.288, allocations: 22.55 kB / 0.7669 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/1.288, allocations: 15.5 kB / 0.7669 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003359/1.289, allocations: 223.6 kB / 0.7671 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.289, allocations: 4 kB / 0.7671 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005382/1.289, allocations: 74.06 kB / 0.7672 GB, free: 22.21 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002299/1.292, allocations: 1.111 MB / 0.7683 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005599/1.292, allocations: 209 kB / 0.7685 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/1.292, allocations: 3.844 kB / 0.7685 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/1.292, allocations: 124.2 kB / 0.7686 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.293, allocations: 22.33 kB / 0.7686 GB, free: 21.42 MB / 0.5105 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/1.294, allocations: 0.4917 MB / 0.7691 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/1.295, allocations: 0.7616 MB / 0.7698 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000542/1.295, allocations: 152.1 kB / 0.77 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.296, allocations: 92.67 kB / 0.7701 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/1.296, allocations: 0 / 0.7701 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5311/1.827, allocations: 5.514 MB / 0.7755 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.827, allocations: 206.5 kB / 0.7756 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/4.663, allocations: 0 / 0.7756 GB, free: 16.5 MB / 0.5105 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/linux/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)