Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 104.4 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 199.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.8 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.66 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.265, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7146/0.9797, allocations: 191.3 MB / 0.9703 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009903/0.9896, allocations: 4.985 MB / 0.9752 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.9922, allocations: 46.77 kB / 0.9753 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.9949, allocations: 0.7305 MB / 0.976 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008773/1.004, allocations: 2.423 MB / 0.9783 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/1.007, allocations: 1.024 MB / 0.9793 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004777/1.012, allocations: 2.671 MB / 0.982 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.014, allocations: 0.9277 MB / 0.9829 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/1.017, allocations: 1.151 MB / 0.984 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/1.019, allocations: 1.054 MB / 0.985 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.019, allocations: 88 kB / 0.9851 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/1.023, allocations: 1.86 MB / 0.9869 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006271/1.024, allocations: 455.3 kB / 0.9873 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.025, allocations: 0.6753 MB / 0.988 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/1.028, allocations: 1.596 MB / 0.9896 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.028, allocations: 0 / 0.9896 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/1.028, allocations: 0 / 0.9896 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.028, allocations: 0 / 0.9896 GB, free: 4.422 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005864/1.034, allocations: 1.972 MB / 0.9915 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.034, allocations: 9.094 kB / 0.9915 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/1.04, allocations: 0.8998 MB / 0.9924 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.042, allocations: 0.9197 MB / 0.9933 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/1.042, allocations: 69.97 kB / 0.9933 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/1.042, allocations: 96.22 kB / 0.9934 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.046, allocations: 1.581 MB / 0.995 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.046, allocations: 4 kB / 0.995 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.046, allocations: 37.12 kB / 0.995 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/1.046, allocations: 46.58 kB / 0.9951 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004961/1.051, allocations: 1.847 MB / 0.9969 GB, free: 18.14 MB / 0.7481 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.007492/1.058, allocations: 4.752 MB / 1.002 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/1.063, allocations: 1.55 MB / 1.003 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/1.065, allocations: 0.8689 MB / 1.004 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.066, allocations: 0.9385 MB / 1.005 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/1.069, allocations: 0.9247 MB / 1.006 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.507e-06/1.069, allocations: 0 / 1.006 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007562/1.076, allocations: 2.444 MB / 1.008 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.076, allocations: 71.33 kB / 1.008 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/1.078, allocations: 1.206 MB / 1.009 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.078, allocations: 46.7 kB / 1.009 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/1.079, allocations: 0.5404 MB / 1.01 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/1.079, allocations: 337.8 kB / 1.01 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/1.079, allocations: 193.4 kB / 1.01 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.079, allocations: 343.1 kB / 1.011 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.082, allocations: 0.6982 MB / 1.011 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.084, allocations: 0.9259 MB / 1.012 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/1.088, allocations: 1.557 MB / 1.014 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.088, allocations: 2.75 kB / 1.014 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005005/1.093, allocations: 1.777 MB / 1.016 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.093, allocations: 12.19 kB / 1.016 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.093, allocations: 8.594 kB / 1.016 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.093, allocations: 8.5 kB / 1.016 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.095, allocations: 337.2 kB / 1.016 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/1.095, allocations: 12.66 kB / 1.016 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.097, allocations: 270.8 kB / 1.016 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.097, allocations: 46.52 kB / 1.016 GB, free: 7.324 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006651/1.098, allocations: 334.2 kB / 1.017 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.098, allocations: 137.8 kB / 1.017 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005083/1.103, allocations: 1.802 MB / 1.018 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.103, allocations: 8.094 kB / 1.018 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.103, allocations: 0 / 1.018 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.104, allocations: 3.984 kB / 1.018 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/1.111, allocations: 3.337 MB / 1.022 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.111, allocations: 9.25 kB / 1.022 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.112, allocations: 295.8 kB / 1.022 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.113, allocations: 7.406 kB / 1.022 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.113, allocations: 35.41 kB / 1.022 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/1.113, allocations: 10.31 kB / 1.022 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.113, allocations: 5.938 kB / 1.022 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007275/1.12, allocations: 2.838 MB / 1.025 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/1.121, allocations: 328.4 kB / 1.025 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.121, allocations: 26.09 kB / 1.025 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.123, allocations: 179.4 kB / 1.025 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.123, allocations: 74.78 kB / 1.025 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.123, allocations: 41.06 kB / 1.025 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001359/1.124, allocations: 0.8354 MB / 1.026 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.026 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001362/1.126, allocations: 339.9 kB / 1.027 GB, free: 1.449 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/1.127, allocations: 0.5311 MB / 1.027 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00574/1.133, allocations: 1.781 MB / 1.029 GB, free: 468 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.133, allocations: 2.875 kB / 1.029 GB, free: 468 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/1.135, allocations: 0.8427 MB / 1.03 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.139, allocations: 0.6374 MB / 1.03 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/1.146, allocations: 3.476 MB / 1.034 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.147, allocations: 1.191 MB / 1.035 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/1.148, allocations: 127.4 kB / 1.035 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/1.148, allocations: 0 / 1.035 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of Templates: time 0.03625/1.184, allocations: 21.88 MB / 1.056 GB, free: 4.48 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)