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.424/1.424, allocations: 249.5 MB / 257 MB, free: 6.992 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.0009944/0.0009945, allocations: 172.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009252/0.0009254, allocations: 89.06 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.252e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.184, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/6.749, allocations: 2.435 GB / 3.32 GB, free: 312.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/6.749, allocations: 85.55 kB / 3.32 GB, free: 312.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.694/8.443, allocations: 0.5792 GB / 3.899 GB, free: 65.03 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/8.443, allocations: 0 / 3.899 GB, free: 65.03 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.82e-05/8.443, allocations: 39.91 kB / 3.899 GB, free: 64.99 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.002392/8.446, allocations: 1.338 MB / 3.901 GB, free: 63.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/8.446, allocations: 12.03 kB / 3.901 GB, free: 63.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/8.449, allocations: 0.5797 MB / 3.901 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/8.451, allocations: 0.9281 MB / 3.902 GB, free: 62.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/8.451, allocations: 24 kB / 3.902 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/8.451, allocations: 51.98 kB / 3.902 GB, free: 61.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009825/8.452, allocations: 0.5663 MB / 3.903 GB, free: 61.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/8.453, allocations: 0.7991 MB / 3.903 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/8.453, allocations: 4 kB / 3.903 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/8.453, allocations: 7.984 kB / 3.903 GB, free: 60.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/8.453, allocations: 16 kB / 3.904 GB, free: 60.51 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.005564/8.459, allocations: 4.83 MB / 3.908 GB, free: 55.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/8.46, allocations: 0.556 MB / 3.909 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/8.46, allocations: 287.6 kB / 3.909 GB, free: 54.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/8.461, allocations: 1.591 MB / 3.911 GB, free: 52.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/8.462, allocations: 389.7 kB / 3.911 GB, free: 52.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 4.529e-06/8.462, allocations: 3.938 kB / 3.911 GB, free: 52.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.00159/8.464, allocations: 0.7203 MB / 3.912 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/8.464, allocations: 63.92 kB / 3.912 GB, free: 51.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/8.465, allocations: 0.8428 MB / 3.913 GB, free: 50.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/8.465, allocations: 29.7 kB / 3.913 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/8.465, allocations: 0.5542 MB / 3.913 GB, free: 50.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/8.465, allocations: 205 kB / 3.913 GB, free: 49.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/8.465, allocations: 0 / 3.913 GB, free: 49.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/8.465, allocations: 334 kB / 3.914 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/8.466, allocations: 254.6 kB / 3.914 GB, free: 49.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/8.466, allocations: 0.5713 MB / 3.914 GB, free: 48.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/8.467, allocations: 349.8 kB / 3.915 GB, free: 48.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/8.467, allocations: 8 kB / 3.915 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001406/8.468, allocations: 0.8724 MB / 3.916 GB, free: 47.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/8.468, allocations: 8 kB / 3.916 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/8.468, allocations: 8 kB / 3.916 GB, free: 47.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/8.468, allocations: 16 kB / 3.916 GB, free: 47.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.469, allocations: 275.8 kB / 3.916 GB, free: 46.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/8.469, allocations: 23.88 kB / 3.916 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/8.471, allocations: 179.1 kB / 3.916 GB, free: 46.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/8.471, allocations: 47.97 kB / 3.916 GB, free: 46.74 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.0002127/8.471, allocations: 142.9 kB / 3.916 GB, free: 46.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001307/8.472, allocations: 0.7202 MB / 3.917 GB, free: 45.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/8.472, allocations: 110.6 kB / 3.917 GB, free: 45.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/8.474, allocations: 1.022 MB / 3.918 GB, free: 44.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/8.474, allocations: 8 kB / 3.918 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/8.474, allocations: 8 kB / 3.918 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/8.474, allocations: 3.984 kB / 3.918 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/8.478, allocations: 1.994 MB / 3.92 GB, free: 42.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/8.478, allocations: 7.938 kB / 3.92 GB, free: 42.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/8.479, allocations: 200 kB / 3.92 GB, free: 42.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/8.479, allocations: 4 kB / 3.92 GB, free: 42.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/8.479, allocations: 23.97 kB / 3.92 GB, free: 42.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/8.479, allocations: 7.938 kB / 3.92 GB, free: 42.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/8.479, allocations: 7.938 kB / 3.92 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/8.481, allocations: 1.52 MB / 3.922 GB, free: 40.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/8.481, allocations: 299.3 kB / 3.922 GB, free: 40.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/8.481, allocations: 15.98 kB / 3.922 GB, free: 40.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/8.482, allocations: 115.9 kB / 3.922 GB, free: 40.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/8.482, allocations: 64.33 kB / 3.922 GB, free: 40.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/8.482, allocations: 31.97 kB / 3.922 GB, free: 40.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006444/8.483, allocations: 0.6363 MB / 3.923 GB, free: 39.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.483, allocations: 0 / 3.923 GB, free: 39.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001208/8.484, allocations: 379.4 kB / 3.923 GB, free: 39.29 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.003463/8.488, allocations: 3.103 MB / 3.926 GB, free: 36.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001077/8.489, allocations: 0.7239 MB / 3.927 GB, free: 35.51 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/8.489, allocations: 4.188 kB / 3.927 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004654/8.489, allocations: 406.1 kB / 3.927 GB, free: 35.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/8.491, allocations: 341.1 kB / 3.928 GB, free: 34.78 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/8.495, allocations: 2.017 MB / 3.93 GB, free: 32.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/8.495, allocations: 1.136 MB / 3.931 GB, free: 31.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009077/8.496, allocations: 254.6 kB / 3.931 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/8.497, allocations: 459.2 kB / 3.931 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/8.497, allocations: 0 / 3.931 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/8.556, allocations: 27.57 MB / 3.958 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/8.556, allocations: 182.4 kB / 3.959 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/11.42, allocations: 0 / 3.959 GB, free: 3.238 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)