Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7479/0.7479, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 186.7 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009669/0.0009668, allocations: 99.77 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 12.58 kB / 0.5604 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.769, allocations: 2.14 GB / 2.775 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/5.77, allocations: 98.3 kB / 2.775 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.07/6.84, allocations: 341 MB / 3.108 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.946e-06/6.84, allocations: 0 / 3.108 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.313e-05/6.84, allocations: 8 kB / 3.108 GB, free: 117.9 MB / 0.6511 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.001439/6.842, allocations: 0.698 MB / 3.109 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/6.842, allocations: 12.03 kB / 3.109 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.201e-05/6.842, allocations: 54.55 kB / 3.109 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/6.842, allocations: 67.56 kB / 3.109 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/6.843, allocations: 317.8 kB / 3.109 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/6.843, allocations: 16.44 kB / 3.109 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/6.843, allocations: 24 kB / 3.109 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/6.843, allocations: 320.3 kB / 3.11 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/6.843, allocations: 0 / 3.11 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/6.843, allocations: 8 kB / 3.11 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/6.843, allocations: 4 kB / 3.11 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/6.844, allocations: 215.7 kB / 3.11 GB, free: 116 MB / 0.6511 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.001277/6.845, allocations: 1.545 MB / 3.111 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/6.846, allocations: 146.6 kB / 3.112 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/6.846, allocations: 186.2 kB / 3.112 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/6.846, allocations: 38.69 kB / 3.112 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/6.846, allocations: 0 / 3.112 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0009975/6.847, allocations: 289.2 kB / 3.112 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/6.847, allocations: 55.41 kB / 3.112 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/6.847, allocations: 271.7 kB / 3.112 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/6.847, allocations: 25.7 kB / 3.112 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/6.847, allocations: 203.5 kB / 3.113 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/6.847, allocations: 35.55 kB / 3.113 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/6.847, allocations: 4 kB / 3.113 GB, free: 113 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/6.847, allocations: 338.8 kB / 3.113 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/6.848, allocations: 68.33 kB / 3.113 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/6.848, allocations: 195.6 kB / 3.113 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/6.848, allocations: 99.91 kB / 3.113 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/6.848, allocations: 4 kB / 3.113 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004457/6.849, allocations: 272.9 kB / 3.113 GB, free: 112 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002997/6.849, allocations: 1.315 MB / 3.115 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/6.849, allocations: 7.953 kB / 3.115 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/6.849, allocations: 4 kB / 3.115 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/6.849, allocations: 59.89 kB / 3.115 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/6.849, allocations: 8 kB / 3.115 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/6.849, allocations: 35.83 kB / 3.115 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/6.849, allocations: 15.98 kB / 3.115 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/6.849, allocations: 4 kB / 3.115 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000307/6.85, allocations: 207.8 kB / 3.115 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/6.85, allocations: 8.062 kB / 3.115 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/6.85, allocations: 4 kB / 3.115 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/6.85, allocations: 47.92 kB / 3.115 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/6.85, allocations: 7.984 kB / 3.115 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/6.85, allocations: 39.67 kB / 3.115 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/6.85, allocations: 16.06 kB / 3.115 GB, free: 110.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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.0001358/6.85, allocations: 233 kB / 3.115 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/6.85, allocations: 23.72 kB / 3.115 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/6.85, allocations: 30.62 kB / 3.115 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/6.85, allocations: 0 / 3.115 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.85, allocations: 3.984 kB / 3.116 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/6.85, allocations: 0 / 3.116 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/6.851, allocations: 0.6241 MB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/6.851, allocations: 4 kB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/6.851, allocations: 31.97 kB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/6.851, allocations: 0 / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/6.851, allocations: 4 kB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/6.852, allocations: 11.83 kB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.852, allocations: 4.188 kB / 3.116 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/6.852, allocations: 394.5 kB / 3.117 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/6.852, allocations: 100.8 kB / 3.117 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/6.852, allocations: 4 kB / 3.117 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/6.852, allocations: 27.88 kB / 3.117 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/6.852, allocations: 16.28 kB / 3.117 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/6.852, allocations: 7.984 kB / 3.117 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001595/6.852, allocations: 215.1 kB / 3.117 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/6.852, allocations: 0 / 3.117 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009609/6.853, allocations: 243.9 kB / 3.117 GB, free: 108 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 10 * 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.002164/6.856, allocations: 2.492 MB / 3.12 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005776/6.856, allocations: 269 kB / 3.12 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/6.856, allocations: 0 / 3.12 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/6.856, allocations: 79.83 kB / 3.12 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/6.857, allocations: 145.9 kB / 3.12 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/6.86, allocations: 3.73 MB / 3.124 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/6.86, allocations: 0.7719 MB / 3.124 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002907/6.86, allocations: 78.91 kB / 3.125 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/6.86, allocations: 87.41 kB / 3.125 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of SimCode: time 5.069e-06/6.86, allocations: 4 kB / 3.125 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/6.902, allocations: 27.01 MB / 3.151 GB, free: 73.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/6.903, allocations: 222.7 kB / 3.151 GB, free: 73.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/9.828, allocations: 0 / 3.151 GB, free: 73.01 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)