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.001008/0.001008, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.95 MB, free: 216 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.643/1.643, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.68/1.68, allocations: 251.9 MB / 0.51 GB, free: 4.836 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.0006636/0.0006639, allocations: 23.53 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.618/0.6186, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02372/0.6424, allocations: 24.59 MB / 0.752 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008896/0.6513, allocations: 5.813 MB / 0.7577 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.6524, allocations: 39.69 kB / 0.7577 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.654, allocations: 0.638 MB / 0.7583 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.657, allocations: 1.192 MB / 0.7595 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.6601, allocations: 1.235 MB / 0.7607 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.6627, allocations: 1.556 MB / 0.7622 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.6636, allocations: 0.6644 MB / 0.7629 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.6651, allocations: 0.8525 MB / 0.7637 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.6658, allocations: 0.5718 MB / 0.7642 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.6659, allocations: 36 kB / 0.7643 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.6673, allocations: 0.5266 MB / 0.7648 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.6676, allocations: 239.1 kB / 0.765 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.6678, allocations: 233 kB / 0.7652 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.669, allocations: 1.025 MB / 0.7662 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.669, allocations: 0 / 0.7662 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.669, allocations: 0 / 0.7662 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.669, allocations: 4 kB / 0.7663 GB, free: 4.121 MB / 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.002469/0.6715, allocations: 1.391 MB / 0.7676 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6715, allocations: 8.031 kB / 0.7676 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.6749, allocations: 0.6383 MB / 0.7682 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.6764, allocations: 0.7703 MB / 0.769 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.6765, allocations: 54 kB / 0.769 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6767, allocations: 79.91 kB / 0.7691 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.6791, allocations: 1.103 MB / 0.7702 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6791, allocations: 0 / 0.7702 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.6792, allocations: 28 kB / 0.7702 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.6792, allocations: 20 kB / 0.7702 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.6821, allocations: 1.024 MB / 0.7712 GB, free: 14.82 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.006305/0.6884, allocations: 4.967 MB / 0.7761 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.6914, allocations: 0.9537 MB / 0.777 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.693, allocations: 1.596 MB / 0.7786 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.6946, allocations: 0.5884 MB / 0.7792 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 3.226e-06/0.6946, allocations: 0 / 0.7792 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.004702/0.6993, allocations: 1.512 MB / 0.7806 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.6994, allocations: 59.97 kB / 0.7807 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.7008, allocations: 1.124 MB / 0.7818 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.7009, allocations: 41.7 kB / 0.7818 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.7014, allocations: 0.5512 MB / 0.7824 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.7016, allocations: 201.2 kB / 0.7826 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.7016, allocations: 24 kB / 0.7826 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7018, allocations: 337.9 kB / 0.7829 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.7032, allocations: 453.6 kB / 0.7833 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.705, allocations: 0.7397 MB / 0.7841 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.7065, allocations: 493.8 kB / 0.7845 GB, free: 384 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7065, allocations: 4 kB / 0.7845 GB, free: 380 kB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003991/0.7105, allocations: 1.29 MB / 0.7858 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7105, allocations: 15.94 kB / 0.7858 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7106, allocations: 12.78 kB / 0.7858 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.7106, allocations: 12 kB / 0.7858 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.7118, allocations: 279.5 kB / 0.7861 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7118, allocations: 12 kB / 0.7861 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7131, allocations: 210.9 kB / 0.7863 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.7132, allocations: 47.98 kB / 0.7864 GB, free: 14.49 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.0004565/0.7136, allocations: 303.6 kB / 0.7867 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.7138, allocations: 118.5 kB / 0.7868 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.7175, allocations: 1.386 MB / 0.7881 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.7176, allocations: 12 kB / 0.7881 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.7176, allocations: 3.984 kB / 0.7881 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7176, allocations: 0 / 0.7881 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.7227, allocations: 2.394 MB / 0.7905 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.7227, allocations: 0 / 0.7905 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7238, allocations: 195.9 kB / 0.7907 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.7238, allocations: 4 kB / 0.7907 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.7239, allocations: 23.97 kB / 0.7907 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.7239, allocations: 8 kB / 0.7907 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7239, allocations: 4 kB / 0.7907 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.7293, allocations: 2.089 MB / 0.7927 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008518/0.7302, allocations: 287.2 kB / 0.793 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.7304, allocations: 20 kB / 0.793 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.7314, allocations: 131.8 kB / 0.7932 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.7315, allocations: 48.45 kB / 0.7932 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.7316, allocations: 35.97 kB / 0.7932 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001049/0.7327, allocations: 0.7603 MB / 0.794 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7327, allocations: 0 / 0.794 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001166/0.7338, allocations: 347.6 kB / 0.7943 GB, free: 6.168 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.001493/0.7353, allocations: 0.6463 MB / 0.7949 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003332/0.7387, allocations: 1.122 MB / 0.796 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7387, allocations: 0 / 0.796 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.7403, allocations: 0.5892 MB / 0.7966 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.7424, allocations: 444.3 kB / 0.797 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.748, allocations: 2.708 MB / 0.7997 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.7487, allocations: 1.14 MB / 0.8008 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001089/0.7498, allocations: 240.8 kB / 0.801 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.7501, allocations: 107.4 kB / 0.8011 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of SimCode: time 9.81e-07/0.7501, allocations: 4 kB / 0.8011 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.03544/0.7855, allocations: 18.87 MB / 0.8196 GB, free: 12.69 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: