Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 111.6 kB / 15.99 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.001638/0.001638, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.487/1.487, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.78/1.78, allocations: 292.3 MB / 0.5492 GB, free: 13.68 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.00159/0.00159, allocations: 69.81 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2139, allocations: 114.5 MB / 0.7835 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6086/0.8226, allocations: 191.3 MB / 0.9704 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008623/0.8313, allocations: 4.977 MB / 0.9752 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.8333, allocations: 43.62 kB / 0.9753 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.8355, allocations: 0.7352 MB / 0.976 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.8428, allocations: 2.414 MB / 0.9783 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.846, allocations: 1.03 MB / 0.9793 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.8501, allocations: 2.605 MB / 0.9819 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.8519, allocations: 0.8788 MB / 0.9827 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.8549, allocations: 1.125 MB / 0.9838 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.8569, allocations: 1.007 MB / 0.9848 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.8572, allocations: 79.47 kB / 0.9849 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.8614, allocations: 1.855 MB / 0.9867 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.8621, allocations: 440.2 kB / 0.9871 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.8632, allocations: 0.6476 MB / 0.9878 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.866, allocations: 1.551 MB / 0.9893 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.866, allocations: 4 kB / 0.9893 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.866, allocations: 2.219 kB / 0.9893 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.866, allocations: 0 / 0.9893 GB, free: 4.406 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005261/0.8713, allocations: 1.946 MB / 0.9912 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8714, allocations: 12.34 kB / 0.9912 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.8752, allocations: 0.6621 MB / 0.9918 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.8767, allocations: 0.8938 MB / 0.9927 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.8767, allocations: 74.42 kB / 0.9928 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.8769, allocations: 84.22 kB / 0.9929 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.8801, allocations: 1.478 MB / 0.9943 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.8801, allocations: 4.469 kB / 0.9943 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.8803, allocations: 33.22 kB / 0.9944 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.8803, allocations: 48.11 kB / 0.9944 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.8841, allocations: 1.519 MB / 0.9959 GB, free: 18.3 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.007688/0.8918, allocations: 5.481 MB / 1.001 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/0.8954, allocations: 1.289 MB / 1.002 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.897, allocations: 0.6764 MB / 1.003 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009031/0.8979, allocations: 0.5815 MB / 1.004 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.8998, allocations: 0.7108 MB / 1.004 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 4.488e-06/0.8998, allocations: 0 / 1.004 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005445/0.9053, allocations: 1.878 MB / 1.006 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.9054, allocations: 62.62 kB / 1.006 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.9072, allocations: 1.249 MB / 1.008 GB, free: 12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.9074, allocations: 45.39 kB / 1.008 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.9079, allocations: 0.5812 MB / 1.008 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.9082, allocations: 284 kB / 1.008 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.9086, allocations: 184.8 kB / 1.009 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9087, allocations: 338.5 kB / 1.009 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.9103, allocations: 0.5358 MB / 1.009 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.9121, allocations: 0.8519 MB / 1.01 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.9153, allocations: 1.32 MB / 1.012 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.9154, allocations: 2.406 kB / 1.012 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003921/0.9193, allocations: 1.498 MB / 1.013 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.9193, allocations: 12.12 kB / 1.013 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.9194, allocations: 11.08 kB / 1.013 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.9194, allocations: 13.28 kB / 1.013 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.9208, allocations: 295.5 kB / 1.013 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.9209, allocations: 19.73 kB / 1.013 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.9226, allocations: 217.1 kB / 1.014 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.9228, allocations: 51.09 kB / 1.014 GB, free: 8.164 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006578/0.9234, allocations: 341.8 kB / 1.014 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.9238, allocations: 137.7 kB / 1.014 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.9278, allocations: 1.408 MB / 1.015 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.9279, allocations: 8.344 kB / 1.015 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9279, allocations: 0 / 1.015 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.9279, allocations: 3.984 kB / 1.015 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/0.9343, allocations: 2.807 MB / 1.018 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9343, allocations: 5.031 kB / 1.018 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9356, allocations: 221.3 kB / 1.018 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/0.9356, allocations: 14.56 kB / 1.018 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.9357, allocations: 26.91 kB / 1.018 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.9357, allocations: 10.41 kB / 1.018 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.9357, allocations: 5.719 kB / 1.018 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/0.9414, allocations: 2.251 MB / 1.021 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009099/0.9424, allocations: 299.8 kB / 1.021 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/0.9428, allocations: 22.72 kB / 1.021 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9442, allocations: 128.7 kB / 1.021 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.9443, allocations: 62.3 kB / 1.021 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.9444, allocations: 39.75 kB / 1.021 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001561/0.946, allocations: 0.8651 MB / 1.022 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.946, allocations: 0 / 1.022 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001349/0.9474, allocations: 311.5 kB / 1.022 GB, free: 3.148 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001372/0.9488, allocations: 0.535 MB / 1.023 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00402/0.9528, allocations: 1.402 MB / 1.024 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9528, allocations: 2.312 kB / 1.024 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.9546, allocations: 0.6441 MB / 1.025 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.9576, allocations: 0.621 MB / 1.025 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.9639, allocations: 3.064 MB / 1.028 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.965, allocations: 1.165 MB / 1.03 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/0.9657, allocations: 126.3 kB / 1.03 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/0.9657, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of Templates: time 0.03355/0.9992, allocations: 20.62 MB / 1.05 GB, free: 11.08 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)