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.0007901/0.0007903, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008532/0.0008532, allocations: 168.7 kB / 15.95 MB, free: 204 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.294/1.294, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.56/1.56, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004838/0.0004841, allocations: 15.22 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02732/0.2333, allocations: 26.95 MB / 0.8136 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.2422, allocations: 6.348 MB / 0.8198 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.2433, allocations: 43.62 kB / 0.8198 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2447, allocations: 0.5597 MB / 0.8204 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.2475, allocations: 1.158 MB / 0.8215 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.2498, allocations: 0.9447 MB / 0.8224 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002972/0.2528, allocations: 2.746 MB / 0.8251 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.2538, allocations: 0.6391 MB / 0.8258 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.2553, allocations: 0.9101 MB / 0.8266 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000857/0.2562, allocations: 0.7469 MB / 0.8274 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.2563, allocations: 36 kB / 0.8274 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.2576, allocations: 0.4988 MB / 0.8279 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.2579, allocations: 239 kB / 0.8281 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2581, allocations: 229 kB / 0.8283 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2593, allocations: 1.044 MB / 0.8294 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2593, allocations: 0 / 0.8294 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2594, allocations: 3.938 kB / 0.8294 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2594, allocations: 0 / 0.8294 GB, free: 0.707 MB / 0.6387 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.002187/0.2616, allocations: 1.376 MB / 0.8307 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2616, allocations: 8.031 kB / 0.8307 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.2646, allocations: 0.6383 MB / 0.8313 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2657, allocations: 0.7741 MB / 0.8321 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.2657, allocations: 58 kB / 0.8322 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2658, allocations: 72 kB / 0.8322 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.2679, allocations: 1.103 MB / 0.8333 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.268, allocations: 4 kB / 0.8333 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.268, allocations: 32 kB / 0.8333 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.268, allocations: 16 kB / 0.8333 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.2706, allocations: 1.023 MB / 0.8343 GB, free: 11.41 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.005184/0.2758, allocations: 4.983 MB / 0.8392 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.2784, allocations: 0.9581 MB / 0.8401 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.2796, allocations: 0.4906 MB / 0.8406 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.2809, allocations: 1.599 MB / 0.8422 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.2824, allocations: 0.5846 MB / 0.8428 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.916e-06/0.2824, allocations: 0 / 0.8428 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.004037/0.2864, allocations: 1.516 MB / 0.8442 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2865, allocations: 67.95 kB / 0.8443 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.2879, allocations: 1.117 MB / 0.8454 GB, free: 15.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/0.2879, allocations: 37.7 kB / 0.8454 GB, free: 15.36 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.2884, allocations: 0.5552 MB / 0.846 GB, free: 14.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.2886, allocations: 213 kB / 0.8462 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.2887, allocations: 20 kB / 0.8462 GB, free: 14.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2888, allocations: 334 kB / 0.8465 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.2901, allocations: 461.6 kB / 0.847 GB, free: 13.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.2916, allocations: 0.7397 MB / 0.8477 GB, free: 12.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.2929, allocations: 497.8 kB / 0.8482 GB, free: 12.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2929, allocations: 0 / 0.8482 GB, free: 12.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003177/0.2961, allocations: 1.294 MB / 0.8494 GB, free: 11.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2962, allocations: 11.94 kB / 0.8494 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2962, allocations: 16.02 kB / 0.8494 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.2962, allocations: 12 kB / 0.8495 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.2973, allocations: 275.6 kB / 0.8497 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.2974, allocations: 15.94 kB / 0.8497 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.2986, allocations: 203 kB / 0.8499 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.2987, allocations: 51.97 kB / 0.85 GB, free: 10.55 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 ($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.0004764/0.2992, allocations: 292.4 kB / 0.8503 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.2994, allocations: 122.5 kB / 0.8504 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3029, allocations: 1.379 MB / 0.8517 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.3029, allocations: 19.94 kB / 0.8517 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3029, allocations: 0 / 0.8517 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3029, allocations: 7.984 kB / 0.8517 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004799/0.3077, allocations: 2.393 MB / 0.8541 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3078, allocations: 0 / 0.8541 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/0.3087, allocations: 191.9 kB / 0.8543 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.3087, allocations: 8 kB / 0.8543 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.3088, allocations: 27.97 kB / 0.8543 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.3088, allocations: 7.938 kB / 0.8543 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3088, allocations: 0 / 0.8543 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/0.3132, allocations: 2.004 MB / 0.8563 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.3137, allocations: 291.2 kB / 0.8565 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.3139, allocations: 20 kB / 0.8566 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.3148, allocations: 127.9 kB / 0.8567 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.315, allocations: 56.53 kB / 0.8567 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.315, allocations: 35.97 kB / 0.8568 GB, free: 3.441 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001034/0.3161, allocations: 0.768 MB / 0.8575 GB, free: 2.668 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0 / 0.8575 GB, free: 2.668 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001114/0.3172, allocations: 343.5 kB / 0.8578 GB, free: 2.332 MB / 0.67 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.001436/0.3187, allocations: 0.6434 MB / 0.8585 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.3217, allocations: 1.134 MB / 0.8596 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3217, allocations: 0 / 0.8596 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.3231, allocations: 0.5853 MB / 0.8602 GB, free: 140 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.3251, allocations: 444.3 kB / 0.8606 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.33, allocations: 2.708 MB / 0.8632 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.3308, allocations: 1.108 MB / 0.8643 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001061/0.3318, allocations: 252.8 kB / 0.8645 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3322, allocations: 107.4 kB / 0.8646 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.3322, allocations: 3.938 kB / 0.8647 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of Templates: time 0.03104/0.3632, allocations: 18.9 MB / 0.8831 GB, free: 8.832 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: