Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.763/1.763, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001469/0.001469, allocations: 71.81 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0272/0.2833, allocations: 29.36 MB / 0.812 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2938, allocations: 6.735 MB / 0.8186 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.2955, allocations: 47.69 kB / 0.8186 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2973, allocations: 0.6992 MB / 0.8193 GB, free: 8.492 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003795/0.3011, allocations: 1.426 MB / 0.8207 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.3041, allocations: 1.157 MB / 0.8219 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002746/0.3069, allocations: 2.45 MB / 0.8242 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3079, allocations: 0.8023 MB / 0.825 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3096, allocations: 1.023 MB / 0.826 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.3105, allocations: 0.813 MB / 0.8268 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.3106, allocations: 72 kB / 0.8269 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.3124, allocations: 0.8148 MB / 0.8277 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.3127, allocations: 279 kB / 0.828 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.3132, allocations: 0.5592 MB / 0.8285 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.3151, allocations: 1.624 MB / 0.8301 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3151, allocations: 3.938 kB / 0.8301 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3151, allocations: 0 / 0.8301 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3151, allocations: 0 / 0.8301 GB, free: 13.43 MB / 0.6544 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.002339/0.3175, allocations: 1.578 MB / 0.8316 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3175, allocations: 12.03 kB / 0.8316 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.3209, allocations: 0.5923 MB / 0.8322 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3221, allocations: 0.8058 MB / 0.833 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.3221, allocations: 58.38 kB / 0.8331 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3222, allocations: 83.84 kB / 0.8331 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.3246, allocations: 1.107 MB / 0.8342 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3246, allocations: 0 / 0.8342 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.3247, allocations: 32 kB / 0.8343 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.3247, allocations: 20 kB / 0.8343 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.3277, allocations: 0.9961 MB / 0.8352 GB, free: 7.961 MB / 0.6544 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.005243/0.3329, allocations: 4.963 MB / 0.8401 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.3358, allocations: 0.9059 MB / 0.841 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3372, allocations: 493.1 kB / 0.8414 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.3387, allocations: 1.588 MB / 0.843 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.3403, allocations: 0.5767 MB / 0.8436 GB, free: 14.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 4.168e-06/0.3403, allocations: 0 / 0.8436 GB, free: 14.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004737/0.3451, allocations: 1.489 MB / 0.845 GB, free: 13.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3451, allocations: 55.97 kB / 0.8451 GB, free: 13.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.3464, allocations: 1.128 MB / 0.8462 GB, free: 12.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.3465, allocations: 41.7 kB / 0.8462 GB, free: 12.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.347, allocations: 0.5474 MB / 0.8467 GB, free: 11.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.3472, allocations: 217.1 kB / 0.847 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.3474, allocations: 170.5 kB / 0.8471 GB, free: 11.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3475, allocations: 330 kB / 0.8474 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3489, allocations: 453.6 kB / 0.8479 GB, free: 10.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.3506, allocations: 0.7357 MB / 0.8486 GB, free: 9.469 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.3535, allocations: 1.12 MB / 0.8497 GB, free: 8.246 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3535, allocations: 4 kB / 0.8497 GB, free: 8.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003626/0.3572, allocations: 1.278 MB / 0.8509 GB, free: 6.953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3572, allocations: 8 kB / 0.8509 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3572, allocations: 8 kB / 0.8509 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.3573, allocations: 12 kB / 0.851 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.3584, allocations: 268.2 kB / 0.8512 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.3584, allocations: 15.94 kB / 0.8512 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3596, allocations: 194.9 kB / 0.8514 GB, free: 6.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.3597, allocations: 43.98 kB / 0.8515 GB, free: 6.414 MB / 0.67 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 ($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 (100): * Single equations (assignments): 100 * 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.0004818/0.3602, allocations: 296.4 kB / 0.8517 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3604, allocations: 122.4 kB / 0.8519 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.364, allocations: 1.367 MB / 0.8532 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.3641, allocations: 8 kB / 0.8532 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3641, allocations: 0 / 0.8532 GB, free: 4.609 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3641, allocations: 3.984 kB / 0.8532 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.3689, allocations: 2.385 MB / 0.8555 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3689, allocations: 4 kB / 0.8555 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.3699, allocations: 191.9 kB / 0.8557 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3699, allocations: 4 kB / 0.8557 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.37, allocations: 27.97 kB / 0.8557 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.37, allocations: 7.938 kB / 0.8558 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.37, allocations: 0 / 0.8558 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/0.3749, allocations: 1.977 MB / 0.8577 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.3754, allocations: 275.4 kB / 0.8579 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3756, allocations: 12 kB / 0.858 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.3765, allocations: 111.9 kB / 0.8581 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3766, allocations: 48.44 kB / 0.8581 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.3767, allocations: 35.97 kB / 0.8581 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001048/0.3777, allocations: 0.7681 MB / 0.8589 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3777, allocations: 0 / 0.8589 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001398/0.3791, allocations: 347.5 kB / 0.8592 GB, free: 14.29 MB / 0.6856 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 (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.001782/0.3809, allocations: 0.6654 MB / 0.8599 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004335/0.3853, allocations: 1.185 MB / 0.861 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3853, allocations: 0 / 0.861 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.3871, allocations: 0.5736 MB / 0.8616 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.3892, allocations: 480.7 kB / 0.8621 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.3941, allocations: 2.377 MB / 0.8644 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.3948, allocations: 1.104 MB / 0.8655 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001081/0.3959, allocations: 252.8 kB / 0.8657 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.3962, allocations: 107.4 kB / 0.8658 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of SimCode: time 8.81e-07/0.3962, allocations: 0 / 0.8658 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of Templates: time 0.04077/0.437, allocations: 20.38 MB / 0.8857 GB, free: 3.566 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)