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.595/1.595, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 186.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.001142/0.001142, allocations: 90.53 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.091e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.884/7.108, allocations: 2.434 GB / 3.326 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/7.109, allocations: 79.95 kB / 3.326 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/8.861, allocations: 0.5825 GB / 3.909 GB, free: 20.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/8.861, allocations: 0 / 3.909 GB, free: 20.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001668/8.861, allocations: 39.98 kB / 3.909 GB, free: 20.95 MB / 0.8698 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.003208/8.864, allocations: 1.336 MB / 3.91 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/8.864, allocations: 16.02 kB / 3.91 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/8.865, allocations: 114.5 kB / 3.91 GB, free: 19.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/8.868, allocations: 0.5759 MB / 3.911 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/8.871, allocations: 0.938 MB / 3.912 GB, free: 17.85 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/8.871, allocations: 54 kB / 3.912 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/8.871, allocations: 80 kB / 3.912 GB, free: 17.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/8.872, allocations: 0.9005 MB / 3.913 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/8.872, allocations: 7.938 kB / 3.913 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/8.873, allocations: 28 kB / 3.913 GB, free: 16.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/8.873, allocations: 16 kB / 3.913 GB, free: 16.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/8.874, allocations: 0.6336 MB / 3.913 GB, free: 16.05 MB / 0.8698 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.005705/8.879, allocations: 4.979 MB / 3.918 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/8.88, allocations: 0.5791 MB / 3.919 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/8.881, allocations: 299.3 kB / 3.919 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/8.882, allocations: 1.6 MB / 3.921 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/8.883, allocations: 406.8 kB / 3.921 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.717e-06/8.883, allocations: 0 / 3.921 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001372/8.884, allocations: 0.7163 MB / 3.922 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/8.884, allocations: 55.97 kB / 3.922 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/8.885, allocations: 0.9833 MB / 3.923 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/8.886, allocations: 41.7 kB / 3.923 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/8.886, allocations: 0.5512 MB / 3.923 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/8.886, allocations: 209.1 kB / 3.924 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/8.886, allocations: 20 kB / 3.924 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/8.886, allocations: 338 kB / 3.924 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/8.887, allocations: 265.9 kB / 3.924 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/8.887, allocations: 0.5864 MB / 3.925 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/8.888, allocations: 320.9 kB / 3.925 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/8.888, allocations: 0 / 3.925 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001533/8.889, allocations: 0.9153 MB / 3.926 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/8.889, allocations: 8.938 kB / 3.926 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/8.889, allocations: 8 kB / 3.926 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/8.889, allocations: 15.95 kB / 3.926 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/8.891, allocations: 284 kB / 3.926 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/8.891, allocations: 15.94 kB / 3.926 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/8.892, allocations: 214.8 kB / 3.926 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/8.892, allocations: 55.91 kB / 3.927 GB, free: 1.766 MB / 0.8698 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 () * 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.0001978/8.892, allocations: 167 kB / 3.927 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/8.893, allocations: 126.5 kB / 3.927 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/8.894, allocations: 1.051 MB / 3.928 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/8.895, allocations: 11.95 kB / 3.928 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/8.895, allocations: 3.984 kB / 3.928 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/8.895, allocations: 4 kB / 3.928 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6119/9.506, allocations: 2.112 MB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/9.507, allocations: 1.219 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/9.508, allocations: 200.4 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/9.508, allocations: 4.906 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/9.508, allocations: 24.31 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/9.508, allocations: 8.75 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/9.508, allocations: 3.094 kB / 3.93 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/9.511, allocations: 1.565 MB / 3.932 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/9.511, allocations: 307.2 kB / 3.932 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/9.511, allocations: 23.12 kB / 3.932 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/9.512, allocations: 135.1 kB / 3.932 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/9.513, allocations: 53.09 kB / 3.932 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/9.513, allocations: 39.89 kB / 3.932 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001257/9.514, allocations: 0.7558 MB / 3.933 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/9.514, allocations: 3.219 kB / 3.933 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001591/9.516, allocations: 391.2 kB / 3.933 GB, free: 182.7 MB / 0.8698 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) * 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.004119/9.52, allocations: 3.193 MB / 3.936 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001415/9.521, allocations: 0.7623 MB / 3.937 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/9.521, allocations: 5.141 kB / 3.937 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/9.522, allocations: 424 kB / 3.938 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/9.524, allocations: 427.7 kB / 3.938 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/9.53, allocations: 2.095 MB / 3.94 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/9.53, allocations: 1.137 MB / 3.941 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001362/9.532, allocations: 258.3 kB / 3.941 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/9.532, allocations: 475.3 kB / 3.942 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of SimCode: time 9.11e-07/9.532, allocations: 3.25 kB / 3.942 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07484/9.607, allocations: 33.26 MB / 3.974 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/9.608, allocations: 215.4 kB / 3.975 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/12.92, allocations: 4 kB / 3.975 GB, free: 179.1 MB / 0.8698 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)