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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, 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 0.7708/0.7708, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.857/1.857, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0009124/0.0009125, allocations: 93.55 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.786e-05/4.811e-05, allocations: 4.562 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1738, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6486/0.8224, allocations: 114.9 MB / 0.7528 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.8228, allocations: 90.72 kB / 0.7528 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.8429, allocations: 8.137 MB / 0.7608 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8429, allocations: 4 kB / 0.7608 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.953e-05/0.843, allocations: 3.875 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.0007224/0.8437, allocations: 479.1 kB / 0.7613 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/0.8438, allocations: 11.22 kB / 0.7613 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.263e-05/0.8439, allocations: 56.86 kB / 0.7613 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.844, allocations: 27.09 kB / 0.7613 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.8443, allocations: 270.1 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.8444, allocations: 11.19 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.8444, allocations: 18.19 kB / 0.7616 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.8447, allocations: 205.5 kB / 0.7618 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8447, allocations: 0 / 0.7618 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.8448, allocations: 3.562 kB / 0.7618 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8448, allocations: 3.906 kB / 0.7618 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.8455, allocations: 0.7307 MB / 0.7625 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.8464, allocations: 0.5704 MB / 0.7631 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.8467, allocations: 223.6 kB / 0.7633 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.8469, allocations: 93.25 kB / 0.7634 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.8469, allocations: 23.44 kB / 0.7634 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.8472, allocations: 179.9 kB / 0.7636 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8472, allocations: 0 / 0.7636 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0004722/0.8477, allocations: 264.3 kB / 0.7638 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.8477, allocations: 143.4 kB / 0.764 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.848, allocations: 263 kB / 0.7642 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.8481, allocations: 29.45 kB / 0.7643 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.8482, allocations: 122.8 kB / 0.7644 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.8482, allocations: 109.7 kB / 0.7645 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.8482, allocations: 3.438 kB / 0.7645 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8484, allocations: 343.6 kB / 0.7648 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.8485, allocations: 79.34 kB / 0.7649 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.8486, allocations: 121.7 kB / 0.765 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.8488, allocations: 95.5 kB / 0.7651 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8488, allocations: 3.938 kB / 0.7651 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003699/0.8492, allocations: 271.7 kB / 0.7654 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8492, allocations: 8.781 kB / 0.7654 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8492, allocations: 7.812 kB / 0.7654 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8492, allocations: 0 / 0.7654 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8494, allocations: 56.88 kB / 0.7654 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8495, allocations: 3.875 kB / 0.7654 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.8496, allocations: 29.44 kB / 0.7655 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.8497, allocations: 15.28 kB / 0.7655 GB, free: 23.13 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 9.869e-05/0.8498, allocations: 116.3 kB / 0.7656 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.8498, allocations: 27.25 kB / 0.7656 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/0.8504, allocations: 383.7 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8505, allocations: 3.844 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.8505, allocations: 0 / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.8505, allocations: 3.984 kB / 0.766 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.8508, allocations: 341.6 kB / 0.7663 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8508, allocations: 0 / 0.7663 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.8509, allocations: 58.25 kB / 0.7664 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8509, allocations: 4 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.851, allocations: 10.16 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.851, allocations: 3.844 kB / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.851, allocations: 0 / 0.7664 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.8514, allocations: 305.4 kB / 0.7667 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.8516, allocations: 155.6 kB / 0.7668 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.8516, allocations: 7.406 kB / 0.7668 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.8518, allocations: 23.58 kB / 0.7669 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.8519, allocations: 23.56 kB / 0.7669 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.8519, allocations: 15.48 kB / 0.7669 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001766/0.8521, allocations: 217.9 kB / 0.7671 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8521, allocations: 0 / 0.7671 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003152/0.8524, allocations: 71.59 kB / 0.7672 GB, free: 22.22 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.00146/0.8539, allocations: 1.13 MB / 0.7683 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.8542, allocations: 210.3 kB / 0.7685 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8543, allocations: 0 / 0.7685 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8544, allocations: 122.3 kB / 0.7686 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.8547, allocations: 28.44 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.000953/0.8556, allocations: 494.6 kB / 0.7691 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.856, allocations: 0.7615 MB / 0.7698 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.8563, allocations: 150.7 kB / 0.77 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.8564, allocations: 87.81 kB / 0.7701 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8564, allocations: 0 / 0.7701 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3474/1.204, allocations: 5.507 MB / 0.7754 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.204, allocations: 212.1 kB / 0.7756 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/3.053, allocations: 3.625 kB / 0.7756 GB, free: 16.52 MB / 0.5105 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/linux/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)