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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5617/0.5617, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 89.25 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 72.32 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.67, allocations: 1.823 GB / 2.376 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.671, allocations: 87.14 kB / 2.377 GB, free: 80.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.433/6.103, allocations: 342.3 MB / 2.711 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/6.103, allocations: 0 / 2.711 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.478e-05/6.103, allocations: 11.05 kB / 2.711 GB, free: 141.8 MB / 0.6042 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.001785/6.105, allocations: 0.6681 MB / 2.711 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/6.105, allocations: 9.875 kB / 2.711 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/6.106, allocations: 61.69 kB / 2.712 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/6.107, allocations: 321.2 kB / 2.712 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/6.107, allocations: 14.77 kB / 2.712 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/6.107, allocations: 14.86 kB / 2.712 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000316/6.107, allocations: 115.8 kB / 2.712 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/6.107, allocations: 252.4 kB / 2.712 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/6.107, allocations: 0 / 2.712 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/6.108, allocations: 1.25 kB / 2.712 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/6.108, allocations: 5.812 kB / 2.712 GB, free: 141.1 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001813/6.109, allocations: 1.651 MB / 2.714 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/6.11, allocations: 70.31 kB / 2.714 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/6.11, allocations: 59.78 kB / 2.714 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/6.11, allocations: 188.7 kB / 2.714 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/6.11, allocations: 38.75 kB / 2.714 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.532e-06/6.11, allocations: 0 / 2.714 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005732/6.111, allocations: 144.8 kB / 2.714 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/6.111, allocations: 52.34 kB / 2.714 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/6.111, allocations: 221.8 kB / 2.715 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/6.111, allocations: 30.81 kB / 2.715 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/6.111, allocations: 201.6 kB / 2.715 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/6.111, allocations: 38.09 kB / 2.715 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/6.111, allocations: 0.875 kB / 2.715 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/6.111, allocations: 335.5 kB / 2.715 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/6.111, allocations: 36.17 kB / 2.715 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/6.112, allocations: 181.7 kB / 2.715 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/6.112, allocations: 71.58 kB / 2.715 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/6.112, allocations: 1.188 kB / 2.715 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004065/6.112, allocations: 200.4 kB / 2.716 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/6.112, allocations: 1.394 MB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/6.112, allocations: 4.125 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/6.112, allocations: 8.5 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/6.113, allocations: 44.72 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/6.113, allocations: 13.84 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/6.113, allocations: 38.25 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/6.113, allocations: 12.06 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/6.113, allocations: 8.953 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002571/6.113, allocations: 147.6 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/6.113, allocations: 4.094 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/6.113, allocations: 5.719 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/6.114, allocations: 50.03 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/6.114, allocations: 10.48 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/6.114, allocations: 31.73 kB / 2.717 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/6.114, allocations: 14.84 kB / 2.717 GB, free: 137.2 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/6.114, allocations: 112.1 kB / 2.717 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002193/6.114, allocations: 126.3 kB / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/6.114, allocations: 27.16 kB / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/6.115, allocations: 131.4 kB / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/6.115, allocations: 0 / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.115, allocations: 6.812 kB / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/6.115, allocations: 0 / 2.718 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/6.115, allocations: 0.5304 MB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.115, allocations: 3.594 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/6.116, allocations: 33.42 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/6.116, allocations: 5.156 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/6.116, allocations: 2.062 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/6.116, allocations: 2.938 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/6.116, allocations: 1.344 kB / 2.718 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/6.116, allocations: 350.2 kB / 2.719 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/6.116, allocations: 110.5 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/6.116, allocations: 11.5 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/6.116, allocations: 17.62 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/6.116, allocations: 22.47 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/6.116, allocations: 5.5 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001776/6.117, allocations: 174.8 kB / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/6.117, allocations: 0 / 2.719 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001044/6.118, allocations: 220.6 kB / 2.719 GB, free: 136.1 MB / 0.6042 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 () * 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 (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.003835/6.122, allocations: 2.684 MB / 2.722 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005871/6.122, allocations: 195.8 kB / 2.722 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/6.122, allocations: 0.9688 kB / 2.722 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/6.122, allocations: 47.92 kB / 2.722 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/6.123, allocations: 97.09 kB / 2.722 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/6.124, allocations: 429 kB / 2.723 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/6.125, allocations: 0.7829 MB / 2.723 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000434/6.125, allocations: 91.83 kB / 2.723 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/6.125, allocations: 81.34 kB / 2.723 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/6.125, allocations: 1.531 kB / 2.723 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/6.171, allocations: 16.18 MB / 2.739 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/6.171, allocations: 150.5 kB / 2.739 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/8.66, allocations: 4 kB / 2.739 GB, free: 133.3 MB / 0.6042 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/linux/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)