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.01142/0.01142, allocations: 170.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8094/0.8094, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 98.72 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005272, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4923, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.655, allocations: 115 MB / 0.7618 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6553, allocations: 83.95 kB / 0.7619 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.6782, allocations: 8.332 MB / 0.7701 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6783, allocations: 3.938 kB / 0.7701 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.6783, allocations: 4 kB / 0.7701 GB, free: 8.527 MB / 0.5417 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.0008687/0.6792, allocations: 0.507 MB / 0.7706 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6792, allocations: 8.031 kB / 0.7706 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.6793, allocations: 46.56 kB / 0.7706 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.6794, allocations: 35.61 kB / 0.7707 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.6798, allocations: 279.4 kB / 0.7709 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.6798, allocations: 8 kB / 0.7709 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.6799, allocations: 16 kB / 0.7709 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.6802, allocations: 210.3 kB / 0.7711 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.6803, allocations: 0 / 0.7711 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6803, allocations: 8 kB / 0.7712 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.6803, allocations: 7.938 kB / 0.7712 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.6812, allocations: 0.7373 MB / 0.7719 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009514/0.6822, allocations: 0.5589 MB / 0.7724 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.6826, allocations: 235.4 kB / 0.7727 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.6826, allocations: 15.97 kB / 0.7727 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.6829, allocations: 169.5 kB / 0.7728 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.683, allocations: 0 / 0.7728 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0006708/0.6836, allocations: 372.6 kB / 0.7732 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6838, allocations: 136.5 kB / 0.7733 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.6841, allocations: 264.1 kB / 0.7736 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.6841, allocations: 33.7 kB / 0.7736 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.6842, allocations: 120.8 kB / 0.7737 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6843, allocations: 110.4 kB / 0.7738 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.6844, allocations: 8 kB / 0.7738 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6845, allocations: 338.8 kB / 0.7741 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.6847, allocations: 75.95 kB / 0.7742 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.6848, allocations: 124.4 kB / 0.7743 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.685, allocations: 103.9 kB / 0.7744 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.685, allocations: 0 / 0.7744 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004047/0.6854, allocations: 269.2 kB / 0.7747 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6855, allocations: 12 kB / 0.7747 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6855, allocations: 0 / 0.7747 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6855, allocations: 0 / 0.7747 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.6857, allocations: 63.91 kB / 0.7748 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6857, allocations: 0 / 0.7748 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6859, allocations: 39.62 kB / 0.7748 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.6859, allocations: 12 kB / 0.7748 GB, free: 3.398 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.6861, allocations: 161.8 kB / 0.775 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.6862, allocations: 23.72 kB / 0.775 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.6868, allocations: 377.5 kB / 0.7754 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6868, allocations: 4 kB / 0.7754 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6868, allocations: 0 / 0.7754 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6868, allocations: 3.984 kB / 0.7754 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.6872, allocations: 345.1 kB / 0.7757 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6872, allocations: 0 / 0.7757 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.6874, allocations: 59.95 kB / 0.7757 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6874, allocations: 7.922 kB / 0.7758 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.6874, allocations: 8 kB / 0.7758 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6875, allocations: 4 kB / 0.7758 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6875, allocations: 3.984 kB / 0.7758 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.688, allocations: 317.6 kB / 0.7761 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.6881, allocations: 152.7 kB / 0.7762 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.6882, allocations: 8 kB / 0.7762 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6884, allocations: 19.98 kB / 0.7762 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.6884, allocations: 23.97 kB / 0.7763 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.6885, allocations: 19.98 kB / 0.7763 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002172/0.6887, allocations: 216.4 kB / 0.7765 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6887, allocations: 0 / 0.7765 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003172/0.689, allocations: 75.94 kB / 0.7766 GB, free: 1.508 MB / 0.5417 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 (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.001634/0.6907, allocations: 1.158 MB / 0.7777 GB, free: 484 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.6911, allocations: 219.8 kB / 0.7779 GB, free: 264 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6911, allocations: 0 / 0.7779 GB, free: 264 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.6913, allocations: 123.8 kB / 0.778 GB, free: 140 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.6915, allocations: 27.23 kB / 0.7781 GB, free: 108 kB / 0.5417 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.00226/0.6938, allocations: 1.464 MB / 0.7795 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6942, allocations: 0.7613 MB / 0.7802 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.6946, allocations: 150.8 kB / 0.7804 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.6948, allocations: 87.39 kB / 0.7805 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.6948, allocations: 0 / 0.7805 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3806/1.075, allocations: 5.541 MB / 0.7859 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.076, allocations: 248.2 kB / 0.7861 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/3.037, allocations: 0 / 0.7861 GB, free: 7.977 MB / 0.5573 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)