Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001524/0.001524, allocations: 108 kB / 15.61 MB, free: 152 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.00196/0.00196, allocations: 197.4 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 62.27 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03369/0.4481, allocations: 29.33 MB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.4602, allocations: 6.867 MB / 1.104 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.4622, allocations: 47.69 kB / 1.104 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4645, allocations: 0.6953 MB / 1.104 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.4693, allocations: 1.458 MB / 1.106 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.4731, allocations: 1.156 MB / 1.107 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004138/0.4773, allocations: 2.469 MB / 1.109 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.4791, allocations: 0.7984 MB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.4817, allocations: 1.016 MB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.4835, allocations: 0.8091 MB / 1.112 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.4839, allocations: 68 kB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.4864, allocations: 0.8148 MB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.4869, allocations: 278.9 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.4881, allocations: 0.5476 MB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.4918, allocations: 1.596 MB / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4919, allocations: 3.938 kB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4919, allocations: 0 / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.136e-05/0.4919, allocations: 0 / 1.115 GB, free: 10.32 MB / 0.8731 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.003583/0.4955, allocations: 1.562 MB / 1.117 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4956, allocations: 8.031 kB / 1.117 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.4993, allocations: 0.5845 MB / 1.117 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.501, allocations: 0.8056 MB / 1.118 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.5011, allocations: 58.38 kB / 1.118 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.5013, allocations: 75.94 kB / 1.118 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.504, allocations: 1.096 MB / 1.119 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.5041, allocations: 7.938 kB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/0.5042, allocations: 32 kB / 1.119 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.5042, allocations: 16 kB / 1.119 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.5075, allocations: 1 MB / 1.12 GB, free: 4.891 MB / 0.8731 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.006854/0.5144, allocations: 4.966 MB / 1.125 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.5176, allocations: 0.8951 MB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.5191, allocations: 487.8 kB / 1.126 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.5206, allocations: 1.595 MB / 1.128 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.5224, allocations: 0.569 MB / 1.128 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 3.887e-06/0.5224, allocations: 3.938 kB / 1.128 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.005115/0.5275, allocations: 1.485 MB / 1.13 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.5276, allocations: 63.91 kB / 1.13 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.5295, allocations: 1.108 MB / 1.131 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.5297, allocations: 45.69 kB / 1.131 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.5302, allocations: 0.5395 MB / 1.132 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.5305, allocations: 213 kB / 1.132 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.5309, allocations: 166.5 kB / 1.132 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.531, allocations: 341.9 kB / 1.132 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5325, allocations: 441.6 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5343, allocations: 0.7242 MB / 1.133 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.5374, allocations: 1.117 MB / 1.134 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.5375, allocations: 96 / 1.134 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003937/0.5414, allocations: 1.278 MB / 1.136 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5414, allocations: 12.16 kB / 1.136 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5415, allocations: 8 kB / 1.136 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.5415, allocations: 19.97 kB / 1.136 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5427, allocations: 263.6 kB / 1.136 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.5428, allocations: 19.92 kB / 1.136 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5441, allocations: 178.9 kB / 1.136 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5442, allocations: 47.97 kB / 1.136 GB, free: 3.406 MB / 0.8887 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.0005866/0.5448, allocations: 291.8 kB / 1.137 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.5452, allocations: 126.4 kB / 1.137 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.5493, allocations: 1.367 MB / 1.138 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.5494, allocations: 8 kB / 1.138 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5494, allocations: 0 / 1.138 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5494, allocations: 3.984 kB / 1.138 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/0.5547, allocations: 2.37 MB / 1.14 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5547, allocations: 7.938 kB / 1.14 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5558, allocations: 183.8 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.5558, allocations: 4 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.5559, allocations: 27.97 kB / 1.141 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5559, allocations: 4 kB / 1.141 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.5559, allocations: 7.984 kB / 1.141 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.5613, allocations: 1.969 MB / 1.142 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.5619, allocations: 279.4 kB / 1.143 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.5622, allocations: 12 kB / 1.143 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5634, allocations: 107.9 kB / 1.143 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.5635, allocations: 56.38 kB / 1.143 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.5636, allocations: 35.97 kB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001239/0.5649, allocations: 0.7677 MB / 1.144 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5649, allocations: 4 kB / 1.144 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001484/0.5664, allocations: 339.6 kB / 1.144 GB, free: 11.31 MB / 0.9044 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.001909/0.5683, allocations: 0.6499 MB / 1.145 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003932/0.5722, allocations: 1.185 MB / 1.146 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.5723, allocations: 0 / 1.146 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.574, allocations: 0.5736 MB / 1.146 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.5766, allocations: 465.7 kB / 1.147 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.5825, allocations: 2.35 MB / 1.149 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/0.5834, allocations: 1.114 MB / 1.15 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001354/0.5848, allocations: 244.7 kB / 1.15 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.5852, allocations: 107.4 kB / 1.151 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of SimCode: time 1.382e-06/0.5852, allocations: 0 / 1.151 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of Templates: time 0.03843/0.6237, allocations: 19.89 MB / 1.17 GB, free: 1.102 MB / 0.92 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)