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.00105/0.00105, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7724/0.7724, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009393/0.0009395, allocations: 101.7 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.3e-05, allocations: 8 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5075, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.6521, allocations: 114.3 MB / 0.7455 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.6524, allocations: 91.88 kB / 0.7456 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02065/0.6731, allocations: 7.982 MB / 0.7534 GB, free: 312 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6731, allocations: 0 / 0.7534 GB, free: 312 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.6732, allocations: 4 kB / 0.7534 GB, free: 308 kB / 0.5261 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.000606/0.6738, allocations: 486.5 kB / 0.7539 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6738, allocations: 8.031 kB / 0.7539 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.6739, allocations: 23.72 kB / 0.7539 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.6742, allocations: 279.4 kB / 0.7542 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.6743, allocations: 8 kB / 0.7542 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.6743, allocations: 8 kB / 0.7542 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007796/0.6751, allocations: 0.7139 MB / 0.7549 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.6754, allocations: 188.9 kB / 0.7551 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6754, allocations: 0 / 0.7551 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.6754, allocations: 3.984 kB / 0.7551 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6754, allocations: 4 kB / 0.7551 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.6762, allocations: 0.532 MB / 0.7556 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.6765, allocations: 211.3 kB / 0.7558 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.6766, allocations: 80.84 kB / 0.7559 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.6766, allocations: 19.97 kB / 0.7559 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.6769, allocations: 165.2 kB / 0.756 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.6769, allocations: 0 / 0.756 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.0004485/0.6774, allocations: 259.2 kB / 0.7563 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/0.6775, allocations: 136.5 kB / 0.7564 GB, free: 13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.6778, allocations: 255.9 kB / 0.7567 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.6778, allocations: 25.7 kB / 0.7567 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.6779, allocations: 124.8 kB / 0.7568 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.678, allocations: 106.5 kB / 0.7569 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.678, allocations: 0 / 0.7569 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6781, allocations: 338.8 kB / 0.7572 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.6782, allocations: 71.97 kB / 0.7573 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.6784, allocations: 111.3 kB / 0.7574 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.6785, allocations: 99.88 kB / 0.7575 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6785, allocations: 0 / 0.7575 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003526/0.6789, allocations: 266 kB / 0.7578 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6789, allocations: 4 kB / 0.7578 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6789, allocations: 0 / 0.7578 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6789, allocations: 3.938 kB / 0.7578 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.6792, allocations: 59.91 kB / 0.7578 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6792, allocations: 0 / 0.7578 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6793, allocations: 23.83 kB / 0.7578 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.6793, allocations: 12 kB / 0.7579 GB, free: 11.49 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 () * 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 9.683e-05/0.6794, allocations: 112.9 kB / 0.758 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003634/0.6798, allocations: 261.2 kB / 0.7582 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.6799, allocations: 27.62 kB / 0.7582 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.6804, allocations: 357.6 kB / 0.7586 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6805, allocations: 4 kB / 0.7586 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6805, allocations: 0 / 0.7586 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6805, allocations: 3.953 kB / 0.7586 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.6807, allocations: 301.8 kB / 0.7589 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6808, allocations: 0 / 0.7589 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6809, allocations: 51.97 kB / 0.7589 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.6809, allocations: 3.984 kB / 0.7589 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.681, allocations: 19.97 kB / 0.7589 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.681, allocations: 0 / 0.7589 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.681, allocations: 0 / 0.7589 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.6814, allocations: 294 kB / 0.7592 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.6815, allocations: 164.6 kB / 0.7594 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.6816, allocations: 0 / 0.7594 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.6818, allocations: 11.98 kB / 0.7594 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.6818, allocations: 23.95 kB / 0.7594 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.6818, allocations: 16 kB / 0.7594 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000175/0.682, allocations: 208.5 kB / 0.7596 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.682, allocations: 0 / 0.7596 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002988/0.6823, allocations: 56 kB / 0.7597 GB, free: 9.52 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) * 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.001414/0.6838, allocations: 1.088 MB / 0.7608 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.6841, allocations: 208.3 kB / 0.7609 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6841, allocations: 4 kB / 0.761 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6843, allocations: 107.9 kB / 0.7611 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6845, allocations: 23.16 kB / 0.7611 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.6853, allocations: 459.8 kB / 0.7615 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.6857, allocations: 0.7575 MB / 0.7623 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.686, allocations: 151.1 kB / 0.7624 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6861, allocations: 87.41 kB / 0.7625 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.6861, allocations: 0 / 0.7625 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/1.09, allocations: 5.009 MB / 0.7674 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.09, allocations: 200 kB / 0.7676 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.932, allocations: 1.875 kB / 0.7676 GB, free: 1.48 MB / 0.5417 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)