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.001403/0.001403, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001682/0.001682, allocations: 191.9 kB / 16.25 MB, free: 6.617 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.75/1.75, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001434/0.001434, allocations: 76.69 kB / 0.671 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2721, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6357/0.9078, allocations: 191.3 MB / 0.9697 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00898/0.9168, allocations: 4.979 MB / 0.9746 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.9194, allocations: 46.39 kB / 0.9746 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.922, allocations: 0.7359 MB / 0.9753 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007909/0.9299, allocations: 2.417 MB / 0.9777 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.9334, allocations: 1.021 MB / 0.9787 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005075/0.9385, allocations: 2.609 MB / 0.9812 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.9406, allocations: 0.8766 MB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.9439, allocations: 1.123 MB / 0.9832 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.9461, allocations: 1.013 MB / 0.9842 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.9464, allocations: 78.38 kB / 0.9842 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004548/0.9509, allocations: 1.853 MB / 0.986 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007453/0.9517, allocations: 443.4 kB / 0.9865 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.953, allocations: 0.6503 MB / 0.9871 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.9581, allocations: 2.278 MB / 0.9893 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9582, allocations: 0 / 0.9893 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9582, allocations: 2.562 kB / 0.9893 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.546e-05/0.9582, allocations: 0 / 0.9893 GB, free: 4.199 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.005844/0.9641, allocations: 1.942 MB / 0.9912 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.9641, allocations: 8.688 kB / 0.9912 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.9682, allocations: 0.6632 MB / 0.9919 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.9698, allocations: 0.8924 MB / 0.9928 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.9699, allocations: 71.42 kB / 0.9928 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.9701, allocations: 90.41 kB / 0.9929 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/0.9732, allocations: 1.474 MB / 0.9944 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.9732, allocations: 8.969 kB / 0.9944 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.9733, allocations: 35.41 kB / 0.9944 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/0.9734, allocations: 46.12 kB / 0.9944 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.9771, allocations: 1.52 MB / 0.9959 GB, free: 17.99 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.007259/0.9844, allocations: 5.482 MB / 1.001 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.9879, allocations: 1.297 MB / 1.003 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.9894, allocations: 0.6641 MB / 1.003 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/0.9904, allocations: 0.5805 MB / 1.004 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.9923, allocations: 0.7124 MB / 1.004 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.717e-06/0.9923, allocations: 0 / 1.004 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005461/0.9978, allocations: 1.877 MB / 1.006 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.9978, allocations: 62.81 kB / 1.006 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.9996, allocations: 1.244 MB / 1.008 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.9998, allocations: 46.73 kB / 1.008 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1, allocations: 0.5836 MB / 1.008 GB, free: 11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/1.001, allocations: 281.9 kB / 1.008 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/1.001, allocations: 186 kB / 1.009 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.001, allocations: 342.2 kB / 1.009 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.003, allocations: 0.5357 MB / 1.009 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/1.004, allocations: 0.8514 MB / 1.01 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/1.008, allocations: 1.323 MB / 1.012 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.008, allocations: 2.562 kB / 1.012 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003879/1.011, allocations: 1.494 MB / 1.013 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.011, allocations: 14.59 kB / 1.013 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.011, allocations: 14.92 kB / 1.013 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.012, allocations: 14.47 kB / 1.013 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.013, allocations: 291.5 kB / 1.013 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/1.013, allocations: 15.84 kB / 1.013 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.015, allocations: 221 kB / 1.014 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.015, allocations: 49.91 kB / 1.014 GB, free: 7.73 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.0006168/1.015, allocations: 342.9 kB / 1.014 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/1.016, allocations: 141.7 kB / 1.014 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/1.019, allocations: 1.402 MB / 1.015 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/1.019, allocations: 7.344 kB / 1.015 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.019, allocations: 3.438 kB / 1.015 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.019, allocations: 7.984 kB / 1.015 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/1.025, allocations: 2.798 MB / 1.018 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.025, allocations: 5.812 kB / 1.018 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.027, allocations: 221.8 kB / 1.018 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/1.027, allocations: 16.33 kB / 1.018 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/1.027, allocations: 24.73 kB / 1.018 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/1.027, allocations: 14.42 kB / 1.019 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.027, allocations: 5.406 kB / 1.019 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/1.032, allocations: 2.252 MB / 1.021 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/1.033, allocations: 294.2 kB / 1.021 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/1.033, allocations: 22.17 kB / 1.021 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.034, allocations: 135.1 kB / 1.021 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.034, allocations: 65.48 kB / 1.021 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/1.034, allocations: 40.19 kB / 1.021 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001015/1.035, allocations: 0.8536 MB / 1.022 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.035, allocations: 0 / 1.022 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00103/1.037, allocations: 318.8 kB / 1.022 GB, free: 2.715 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.00117/1.038, allocations: 0.5385 MB / 1.023 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003918/1.042, allocations: 1.408 MB / 1.024 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.042, allocations: 0 / 1.024 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/1.043, allocations: 0.642 MB / 1.025 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/1.046, allocations: 0.6107 MB / 1.025 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/1.052, allocations: 3.005 MB / 1.028 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/1.052, allocations: 1.176 MB / 1.03 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001575/1.054, allocations: 341.1 kB / 1.03 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/1.054, allocations: 114.6 kB / 1.03 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of SimCode: time 7.52e-07/1.054, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of Templates: time 0.03836/1.093, allocations: 22.48 MB / 1.052 GB, free: 8.496 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)