Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 177.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009551/0.0009551, allocations: 83.81 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003541, allocations: 12.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.502/6.761, allocations: 2.434 GB / 3.335 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/6.761, allocations: 91.95 kB / 3.335 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.38/9.142, allocations: 0.5845 GB / 3.919 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.447e-06/9.142, allocations: 2.156 kB / 3.919 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001795/9.142, allocations: 35.83 kB / 3.919 GB, free: 216.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004274/9.146, allocations: 1.546 MB / 3.921 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/9.146, allocations: 13.41 kB / 3.921 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/9.147, allocations: 114.4 kB / 3.921 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/9.15, allocations: 0.5807 MB / 3.921 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/9.153, allocations: 0.931 MB / 3.922 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/9.153, allocations: 57.94 kB / 3.922 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/9.153, allocations: 75.91 kB / 3.922 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/9.155, allocations: 1.089 MB / 3.923 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/9.155, allocations: 6.875 kB / 3.923 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/9.156, allocations: 27.25 kB / 3.923 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/9.156, allocations: 21.31 kB / 3.924 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/9.158, allocations: 1.001 MB / 3.924 GB, free: 214 MB / 0.8855 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.006879/9.165, allocations: 4.969 MB / 3.929 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/9.168, allocations: 0.9512 MB / 3.93 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/9.169, allocations: 1.594 MB / 3.932 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/9.171, allocations: 0.5836 MB / 3.932 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.448e-06/9.171, allocations: 0 / 3.932 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.004355/9.175, allocations: 1.505 MB / 3.934 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/9.175, allocations: 62.25 kB / 3.934 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/9.177, allocations: 0.9932 MB / 3.935 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/9.177, allocations: 45.55 kB / 3.935 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/9.178, allocations: 0.5549 MB / 3.935 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/9.178, allocations: 215.3 kB / 3.936 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/9.178, allocations: 15.22 kB / 3.936 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/9.178, allocations: 340.6 kB / 3.936 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/9.179, allocations: 449.5 kB / 3.936 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/9.181, allocations: 0.7721 MB / 3.937 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/9.182, allocations: 0.4984 MB / 3.938 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/9.182, allocations: 7.188 kB / 3.938 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003308/9.185, allocations: 1.275 MB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/9.185, allocations: 13.69 kB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/9.185, allocations: 7.688 kB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/9.185, allocations: 14.95 kB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/9.187, allocations: 282.3 kB / 3.939 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/9.187, allocations: 20.84 kB / 3.939 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/9.188, allocations: 211.7 kB / 3.939 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/9.188, allocations: 49.16 kB / 3.94 GB, free: 203.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0007008/9.189, allocations: 300.6 kB / 3.94 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/9.189, allocations: 121.5 kB / 3.94 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/9.193, allocations: 1.429 MB / 3.941 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/9.193, allocations: 17.61 kB / 3.941 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/9.193, allocations: 0 / 3.941 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/9.193, allocations: 3.984 kB / 3.941 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/9.199, allocations: 2.48 MB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/9.199, allocations: 0 / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/9.2, allocations: 202 kB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/9.2, allocations: 6.109 kB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/9.2, allocations: 23.36 kB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/9.2, allocations: 7.812 kB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/9.2, allocations: 7.266 kB / 3.944 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/9.205, allocations: 2.12 MB / 3.946 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/9.206, allocations: 313.5 kB / 3.946 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/9.206, allocations: 18.66 kB / 3.946 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/9.207, allocations: 131.1 kB / 3.947 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/9.207, allocations: 58.72 kB / 3.947 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/9.207, allocations: 30.5 kB / 3.947 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001216/9.209, allocations: 0.7764 MB / 3.947 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/9.209, allocations: 0 / 3.947 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001736/9.21, allocations: 395.9 kB / 3.948 GB, free: 198.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.006768/9.217, allocations: 3.778 MB / 3.951 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003123/9.22, allocations: 1.141 MB / 3.953 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/9.22, allocations: 3.281 kB / 3.953 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/9.222, allocations: 0.5951 MB / 3.953 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/9.224, allocations: 453.2 kB / 3.954 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/9.24, allocations: 12.63 MB / 3.966 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/9.241, allocations: 1.137 MB / 3.967 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001285/9.242, allocations: 258.3 kB / 3.967 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/9.242, allocations: 471.2 kB / 3.968 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/9.242, allocations: 0 / 3.968 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/9.294, allocations: 32.97 MB / 4 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/9.295, allocations: 233.8 kB / 4 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/12.53, allocations: 6.75 kB / 4 GB, free: 149.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)