Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",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.001574/0.001574, allocations: 103.7 kB / 16.4 MB, free: 6.5 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.001666/0.001666, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7081/0.7081, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.66 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.5492/0.7096, allocations: 169.4 MB / 0.7971 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006912/0.7166, allocations: 7.319 MB / 0.8042 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/0.7173, allocations: 12.12 kB / 0.8042 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.7181, allocations: 211.1 kB / 0.8044 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.7198, allocations: 0.5716 MB / 0.805 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.721, allocations: 432.8 kB / 0.8054 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.7219, allocations: 0.7082 MB / 0.8061 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.7223, allocations: 274.2 kB / 0.8063 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006511/0.7229, allocations: 390.7 kB / 0.8067 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.7232, allocations: 207 kB / 0.8069 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.7232, allocations: 20.62 kB / 0.8069 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.7242, allocations: 0.705 MB / 0.8076 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.7244, allocations: 110.3 kB / 0.8077 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.7245, allocations: 156.7 kB / 0.8079 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.7253, allocations: 0.5678 MB / 0.8084 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7253, allocations: 4 kB / 0.8084 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7253, allocations: 0 / 0.8084 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.7253, allocations: 0 / 0.8084 GB, free: 11.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009054/0.7262, allocations: 0.6397 MB / 0.8091 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7263, allocations: 7.5 kB / 0.8091 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.7263, allocations: 59.55 kB / 0.8091 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.7267, allocations: 69.47 kB / 0.8092 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.7272, allocations: 319.1 kB / 0.8095 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.7272, allocations: 17.41 kB / 0.8095 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.7272, allocations: 24.31 kB / 0.8095 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.7277, allocations: 303.8 kB / 0.8098 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7277, allocations: 6.031 kB / 0.8098 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.7278, allocations: 17.19 kB / 0.8098 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.7278, allocations: 5.562 kB / 0.8099 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.7281, allocations: 173.7 kB / 0.81 GB, free: 9.98 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.7298, allocations: 1.701 MB / 0.8117 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.73, allocations: 86.31 kB / 0.8118 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.7302, allocations: 87.72 kB / 0.8118 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.7305, allocations: 186.4 kB / 0.812 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.7305, allocations: 39.98 kB / 0.8121 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.7305, allocations: 0 / 0.8121 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006243/0.7311, allocations: 226.8 kB / 0.8123 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.7312, allocations: 54.12 kB / 0.8123 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.7315, allocations: 314.8 kB / 0.8126 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.7315, allocations: 32.11 kB / 0.8127 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.7316, allocations: 192.7 kB / 0.8128 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.7317, allocations: 41.55 kB / 0.8129 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.7317, allocations: 55.92 kB / 0.8129 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7319, allocations: 335.9 kB / 0.8133 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.732, allocations: 66.64 kB / 0.8133 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.7322, allocations: 192.6 kB / 0.8135 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.7326, allocations: 235.1 kB / 0.8137 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7326, allocations: 3.125 kB / 0.8137 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004281/0.733, allocations: 253.5 kB / 0.814 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7331, allocations: 5.531 kB / 0.814 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7331, allocations: 4.312 kB / 0.814 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7331, allocations: 9.859 kB / 0.814 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.7333, allocations: 46.52 kB / 0.814 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.7333, allocations: 4.719 kB / 0.814 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.7335, allocations: 42.38 kB / 0.8141 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.7336, allocations: 17.5 kB / 0.8141 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/0.7338, allocations: 169.5 kB / 0.8143 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.734, allocations: 189.2 kB / 0.8144 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003434/0.7344, allocations: 237.1 kB / 0.8147 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.7344, allocations: 0 / 0.8147 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004183/0.7348, allocations: 253.2 kB / 0.8149 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.7348, allocations: 9.594 kB / 0.8149 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7348, allocations: 4.344 kB / 0.8149 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.7348, allocations: 5.75 kB / 0.8149 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.735, allocations: 49.09 kB / 0.815 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.735, allocations: 4.719 kB / 0.815 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.7352, allocations: 23.7 kB / 0.815 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.7353, allocations: 17.81 kB / 0.815 GB, free: 6.289 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.00011/0.7354, allocations: 195.4 kB / 0.8152 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.7354, allocations: 31.41 kB / 0.8152 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.7358, allocations: 171.8 kB / 0.8154 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.7358, allocations: 0 / 0.8154 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7358, allocations: 2.906 kB / 0.8154 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.7358, allocations: 0 / 0.8154 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/0.7367, allocations: 0.6132 MB / 0.816 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7367, allocations: 0 / 0.816 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.7368, allocations: 27.73 kB / 0.816 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7368, allocations: 2.688 kB / 0.816 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.7368, allocations: 10.36 kB / 0.816 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7368, allocations: 3 kB / 0.816 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7368, allocations: 6.531 kB / 0.816 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.7372, allocations: 299.4 kB / 0.8163 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7373, allocations: 116.7 kB / 0.8164 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.7374, allocations: 10.55 kB / 0.8165 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.7375, allocations: 12.8 kB / 0.8165 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.7376, allocations: 17.86 kB / 0.8165 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.7376, allocations: 8.031 kB / 0.8165 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001942/0.7378, allocations: 224.2 kB / 0.8167 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7378, allocations: 0 / 0.8167 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000524/0.7383, allocations: 136.6 kB / 0.8168 GB, free: 5.039 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0008788/0.7392, allocations: 0.898 MB / 0.8177 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.7398, allocations: 245.1 kB / 0.8179 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7398, allocations: 0 / 0.8179 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.7399, allocations: 69.02 kB / 0.818 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.7406, allocations: 128.7 kB / 0.8181 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.7436, allocations: 2.794 MB / 0.8209 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.744, allocations: 0.7748 MB / 0.8216 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.7442, allocations: 85.59 kB / 0.8217 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.7443, allocations: 88.31 kB / 0.8218 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.7443, allocations: 0 / 0.8218 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.7714, allocations: 8.032 MB / 0.8296 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.476, allocations: 4.844 kB / 0.8296 GB, free: 13.39 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)