Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 289.7 MB / 302.2 MB, free: 2.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 180 kB / 371.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009333, allocations: 91.09 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/3.999e-05, allocations: 11.98 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2834, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.627/6.911, allocations: 2.318 GB / 3.298 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/6.911, allocations: 83.98 kB / 3.298 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.845/8.756, allocations: 0.5991 GB / 3.897 GB, free: 42.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.454e-06/8.756, allocations: 4 kB / 3.897 GB, free: 42.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000102/8.756, allocations: 39.97 kB / 3.897 GB, free: 42.71 MB / 0.948 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.003154/8.76, allocations: 1.332 MB / 3.899 GB, free: 41.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/8.76, allocations: 8.031 kB / 3.899 GB, free: 41.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/8.763, allocations: 0.5854 MB / 3.899 GB, free: 40.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/8.765, allocations: 0.9186 MB / 3.9 GB, free: 39.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/8.765, allocations: 65.27 kB / 3.9 GB, free: 39.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/8.765, allocations: 76 kB / 3.9 GB, free: 39.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/8.767, allocations: 0.9006 MB / 3.901 GB, free: 38.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/8.767, allocations: 4 kB / 3.901 GB, free: 38.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/8.767, allocations: 32 kB / 3.901 GB, free: 38.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/8.767, allocations: 24 kB / 3.901 GB, free: 38.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/8.768, allocations: 0.6296 MB / 3.902 GB, free: 37.96 MB / 0.948 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.005334/8.773, allocations: 4.977 MB / 3.907 GB, free: 32.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/8.774, allocations: 0.5837 MB / 3.907 GB, free: 32.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/8.775, allocations: 302.5 kB / 3.908 GB, free: 31.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/8.776, allocations: 1.596 MB / 3.909 GB, free: 29.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/8.777, allocations: 395 kB / 3.91 GB, free: 29.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.917e-06/8.777, allocations: 3.938 kB / 3.91 GB, free: 29.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001601/8.778, allocations: 0.7201 MB / 3.91 GB, free: 28.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/8.778, allocations: 59.92 kB / 3.91 GB, free: 28.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/8.78, allocations: 0.9873 MB / 3.911 GB, free: 27.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/8.78, allocations: 41.7 kB / 3.911 GB, free: 27.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/8.78, allocations: 0.5513 MB / 3.912 GB, free: 27.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/8.78, allocations: 209.1 kB / 3.912 GB, free: 26.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/8.78, allocations: 16 kB / 3.912 GB, free: 26.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/8.78, allocations: 333.9 kB / 3.912 GB, free: 26.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/8.781, allocations: 269.9 kB / 3.913 GB, free: 26.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/8.782, allocations: 0.5905 MB / 3.913 GB, free: 25.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/8.782, allocations: 316.8 kB / 3.914 GB, free: 25.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/8.782, allocations: 4 kB / 3.914 GB, free: 25.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001495/8.784, allocations: 0.9195 MB / 3.914 GB, free: 24.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/8.784, allocations: 8 kB / 3.914 GB, free: 24.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/8.784, allocations: 8.094 kB / 3.914 GB, free: 24.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/8.784, allocations: 16 kB / 3.914 GB, free: 24.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/8.785, allocations: 275.6 kB / 3.915 GB, free: 23.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/8.785, allocations: 19.89 kB / 3.915 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/8.786, allocations: 222.9 kB / 3.915 GB, free: 23.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/8.786, allocations: 51.97 kB / 3.915 GB, free: 23.67 MB / 0.948 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.0001967/8.787, allocations: 159 kB / 3.915 GB, free: 23.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/8.787, allocations: 126.5 kB / 3.915 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/8.789, allocations: 1.054 MB / 3.916 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/8.789, allocations: 12 kB / 3.916 GB, free: 22.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/8.789, allocations: 7.938 kB / 3.916 GB, free: 22.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/8.789, allocations: 0 / 3.916 GB, free: 22.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/8.791, allocations: 2.122 MB / 3.918 GB, free: 20.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/8.791, allocations: 4 kB / 3.918 GB, free: 20.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/8.792, allocations: 192 kB / 3.919 GB, free: 19.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/8.792, allocations: 11.94 kB / 3.919 GB, free: 19.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/8.792, allocations: 31.97 kB / 3.919 GB, free: 19.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/8.792, allocations: 4 kB / 3.919 GB, free: 19.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/8.792, allocations: 4 kB / 3.919 GB, free: 19.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/8.794, allocations: 1.561 MB / 3.92 GB, free: 18.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/8.795, allocations: 315.2 kB / 3.92 GB, free: 17.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/8.795, allocations: 16 kB / 3.921 GB, free: 17.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/8.796, allocations: 131.9 kB / 3.921 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/8.796, allocations: 56.44 kB / 3.921 GB, free: 17.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/8.796, allocations: 31.98 kB / 3.921 GB, free: 17.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008888/8.797, allocations: 0.7617 MB / 3.921 GB, free: 16.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.797, allocations: 3.938 kB / 3.921 GB, free: 16.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001349/8.798, allocations: 387.5 kB / 3.922 GB, free: 16.54 MB / 0.948 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.001553/8.8, allocations: 0.777 MB / 3.923 GB, free: 15.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001294/8.801, allocations: 0.7754 MB / 3.923 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/8.801, allocations: 0 / 3.923 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/8.802, allocations: 416.9 kB / 3.924 GB, free: 14.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/8.804, allocations: 437.3 kB / 3.924 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/8.807, allocations: 1.812 MB / 3.926 GB, free: 12.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/8.808, allocations: 1.141 MB / 3.927 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001088/8.809, allocations: 256.7 kB / 3.927 GB, free: 10.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/8.809, allocations: 115.3 kB / 3.927 GB, free: 10.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/8.809, allocations: 0 / 3.927 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Templates: time 0.7302/9.539, allocations: 21.84 MB / 3.949 GB, free: 171.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)