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.67/1.67, allocations: 289.9 MB / 297.4 MB, free: 6.457 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.001081/0.001081, allocations: 176.9 kB / 366.7 MB, free: 1.707 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.722/1.722, allocations: 205.3 MB / 0.626 GB, free: 7.188 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.0008191/0.0008191, allocations: 92.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.428e-05, allocations: 4 kB / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6455, allocations: 116.3 MB / 0.9732 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/6.336, allocations: 2.318 GB / 3.291 GB, free: 123 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/6.336, allocations: 88.12 kB / 3.291 GB, free: 123 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.619/8.955, allocations: 0.5958 GB / 3.887 GB, free: 224.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/8.955, allocations: 0 / 3.887 GB, free: 224.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001914/8.955, allocations: 39.53 kB / 3.887 GB, free: 224.2 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.003814/8.959, allocations: 1.331 MB / 3.888 GB, free: 223.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/8.959, allocations: 12.22 kB / 3.888 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/8.962, allocations: 0.5793 MB / 3.889 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/8.965, allocations: 0.9267 MB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/8.965, allocations: 27.84 kB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/8.965, allocations: 49.09 kB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001264/8.966, allocations: 0.565 MB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/8.968, allocations: 0.8019 MB / 3.891 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/8.968, allocations: 3.938 kB / 3.891 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/8.968, allocations: 0 / 3.891 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/8.968, allocations: 19.28 kB / 3.891 GB, free: 222.9 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.00598/8.974, allocations: 4.824 MB / 3.896 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/8.975, allocations: 0.5532 MB / 3.896 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/8.975, allocations: 287.6 kB / 3.897 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/8.977, allocations: 1.592 MB / 3.898 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/8.977, allocations: 387.3 kB / 3.899 GB, free: 218 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/8.977, allocations: 0 / 3.899 GB, free: 218 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001885/8.979, allocations: 0.7215 MB / 3.899 GB, free: 217.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/8.979, allocations: 63.16 kB / 3.899 GB, free: 217.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/8.98, allocations: 0.8375 MB / 3.9 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/8.981, allocations: 29.52 kB / 3.9 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/8.981, allocations: 0.5647 MB / 3.901 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/8.981, allocations: 201.2 kB / 3.901 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/8.981, allocations: 0 / 3.901 GB, free: 217.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/8.981, allocations: 337.5 kB / 3.901 GB, free: 217 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/8.982, allocations: 251.8 kB / 3.902 GB, free: 217 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/8.982, allocations: 0.57 MB / 3.902 GB, free: 216.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/8.983, allocations: 354.9 kB / 3.902 GB, free: 216.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/8.983, allocations: 0 / 3.902 GB, free: 216.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001921/8.985, allocations: 0.8784 MB / 3.903 GB, free: 216.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/8.985, allocations: 7 kB / 3.903 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/8.985, allocations: 13.5 kB / 3.903 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/8.985, allocations: 10.5 kB / 3.903 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/8.986, allocations: 280.1 kB / 3.904 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/8.987, allocations: 19.78 kB / 3.904 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/8.988, allocations: 183.5 kB / 3.904 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/8.988, allocations: 48.64 kB / 3.904 GB, free: 216.5 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.0002389/8.988, allocations: 137.9 kB / 3.904 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/8.989, allocations: 104.8 kB / 3.904 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/8.991, allocations: 1.024 MB / 3.905 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/8.991, allocations: 14.73 kB / 3.905 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/8.991, allocations: 0 / 3.905 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/8.991, allocations: 2.438 kB / 3.905 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/8.995, allocations: 1.999 MB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/8.995, allocations: 3.625 kB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/8.996, allocations: 202 kB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/8.996, allocations: 6.125 kB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/8.996, allocations: 22.83 kB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/8.996, allocations: 3.938 kB / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/8.996, allocations: 0 / 3.907 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/8.998, allocations: 1.525 MB / 3.909 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/8.999, allocations: 300 kB / 3.909 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/8.999, allocations: 10.28 kB / 3.909 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/9, allocations: 119.7 kB / 3.909 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/9, allocations: 65.52 kB / 3.909 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/9, allocations: 31.22 kB / 3.909 GB, free: 214.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008899/9.001, allocations: 0.6369 MB / 3.91 GB, free: 213.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/9.001, allocations: 0 / 3.91 GB, free: 213.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001679/9.003, allocations: 376 kB / 3.91 GB, free: 213.8 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.001964/9.005, allocations: 0.7442 MB / 3.911 GB, free: 213.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001351/9.006, allocations: 0.7249 MB / 3.912 GB, free: 213.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/9.006, allocations: 3 kB / 3.912 GB, free: 213.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/9.007, allocations: 405.2 kB / 3.912 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/9.009, allocations: 338.5 kB / 3.912 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/9.013, allocations: 1.772 MB / 3.914 GB, free: 212.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/9.014, allocations: 1.14 MB / 3.915 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001145/9.015, allocations: 249.7 kB / 3.915 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/9.015, allocations: 108 kB / 3.916 GB, free: 211.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/9.015, allocations: 0 / 3.916 GB, free: 211.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03454/9.05, allocations: 17.57 MB / 3.933 GB, free: 210.7 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)