Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007914/0.0007915, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007909/0.0007912, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.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.000485/0.0004852, allocations: 16 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5525, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02629/0.5788, allocations: 26.95 MB / 0.7544 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009324/0.5882, allocations: 6.326 MB / 0.7606 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.5897, allocations: 43.69 kB / 0.7607 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.5912, allocations: 0.5558 MB / 0.7612 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.5944, allocations: 1.162 MB / 0.7623 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.597, allocations: 0.9402 MB / 0.7633 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.6004, allocations: 2.75 MB / 0.7659 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009566/0.6013, allocations: 0.6486 MB / 0.7666 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.6029, allocations: 0.9062 MB / 0.7675 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.6039, allocations: 0.7507 MB / 0.7682 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.604, allocations: 36 kB / 0.7682 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.6055, allocations: 0.495 MB / 0.7687 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.6058, allocations: 239 kB / 0.7689 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.606, allocations: 237 kB / 0.7692 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.6071, allocations: 1.04 MB / 0.7702 GB, free: 168 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6071, allocations: 0 / 0.7702 GB, free: 168 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6072, allocations: 0 / 0.7702 GB, free: 168 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6072, allocations: 0 / 0.7702 GB, free: 168 kB / 0.5762 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.002385/0.6096, allocations: 1.384 MB / 0.7715 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6096, allocations: 8.031 kB / 0.7715 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.6125, allocations: 0.6383 MB / 0.7722 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.6137, allocations: 0.7703 MB / 0.7729 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.6138, allocations: 58 kB / 0.773 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.6139, allocations: 79.91 kB / 0.773 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.616, allocations: 1.1 MB / 0.7741 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6161, allocations: 7.938 kB / 0.7741 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.6162, allocations: 32 kB / 0.7742 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.6162, allocations: 16 kB / 0.7742 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.6188, allocations: 1.027 MB / 0.7752 GB, free: 10.86 MB / 0.5919 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.005533/0.6243, allocations: 4.967 MB / 0.78 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.6269, allocations: 0.9544 MB / 0.781 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.6282, allocations: 490.2 kB / 0.7814 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.6297, allocations: 1.611 MB / 0.783 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.6311, allocations: 0.5922 MB / 0.7836 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 3.927e-06/0.6311, allocations: 4 kB / 0.7836 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.004118/0.6353, allocations: 1.508 MB / 0.7851 GB, free: 80 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6353, allocations: 59.97 kB / 0.7851 GB, free: 8 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.6366, allocations: 1.117 MB / 0.7862 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.6367, allocations: 41.7 kB / 0.7862 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.6371, allocations: 0.5551 MB / 0.7868 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.6373, allocations: 209.2 kB / 0.787 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.6374, allocations: 16 kB / 0.787 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6375, allocations: 334 kB / 0.7873 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.6388, allocations: 457.6 kB / 0.7878 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.6402, allocations: 0.7397 MB / 0.7885 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.6415, allocations: 0.4978 MB / 0.789 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6415, allocations: 0 / 0.789 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003035/0.6445, allocations: 1.286 MB / 0.7902 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6446, allocations: 12.11 kB / 0.7902 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6446, allocations: 12 kB / 0.7902 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.6446, allocations: 12 kB / 0.7903 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.6457, allocations: 279.6 kB / 0.7905 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.6458, allocations: 19.92 kB / 0.7905 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6469, allocations: 202.9 kB / 0.7907 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.647, allocations: 55.91 kB / 0.7908 GB, free: 10.02 MB / 0.6075 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 () * Number of clocked 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.0004019/0.6474, allocations: 291.8 kB / 0.7911 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6475, allocations: 118.5 kB / 0.7912 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.6508, allocations: 1.39 MB / 0.7925 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6509, allocations: 12 kB / 0.7925 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6509, allocations: 4 kB / 0.7925 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6509, allocations: 3.984 kB / 0.7926 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.6552, allocations: 2.394 MB / 0.7949 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6552, allocations: 0 / 0.7949 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/0.6562, allocations: 195.9 kB / 0.7951 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.6562, allocations: 4 kB / 0.7951 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.6563, allocations: 27.97 kB / 0.7951 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.6563, allocations: 7.938 kB / 0.7951 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6563, allocations: 0 / 0.7951 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.6607, allocations: 2.008 MB / 0.7971 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.6611, allocations: 291.2 kB / 0.7974 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6612, allocations: 16 kB / 0.7974 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.6621, allocations: 131.8 kB / 0.7975 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6622, allocations: 56.44 kB / 0.7975 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.6623, allocations: 31.97 kB / 0.7976 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008563/0.6632, allocations: 0.7603 MB / 0.7983 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6632, allocations: 0 / 0.7983 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009658/0.6641, allocations: 339.6 kB / 0.7986 GB, free: 1.809 MB / 0.6075 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * 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.001334/0.6655, allocations: 0.6453 MB / 0.7993 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.6684, allocations: 1.13 MB / 0.8004 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6684, allocations: 0 / 0.8004 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.6698, allocations: 0.5854 MB / 0.801 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6717, allocations: 442.2 kB / 0.8014 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.6764, allocations: 2.711 MB / 0.804 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.677, allocations: 1.115 MB / 0.8051 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6781, allocations: 252.8 kB / 0.8054 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6784, allocations: 107.4 kB / 0.8055 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.6784, allocations: 0 / 0.8055 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.0299/0.7083, allocations: 18.9 MB / 0.8239 GB, free: 8.32 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: