Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009214, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007784/0.007784, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.551/1.551, allocations: 252 MB / 0.5105 GB, free: 4.641 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.0004977/0.0004977, allocations: 16 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4628, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6542/1.117, allocations: 189.3 MB / 0.9136 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.128, allocations: 5.149 MB / 0.9186 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/1.131, allocations: 40.81 kB / 0.9187 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/1.134, allocations: 0.716 MB / 0.9194 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009656/1.144, allocations: 2.421 MB / 0.9217 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/1.148, allocations: 1.013 MB / 0.9227 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006826/1.154, allocations: 3.585 MB / 0.9262 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/1.157, allocations: 0.8386 MB / 0.927 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/1.16, allocations: 1.006 MB / 0.928 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/1.163, allocations: 1.009 MB / 0.929 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004881/1.163, allocations: 48.16 kB / 0.929 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/1.168, allocations: 2.071 MB / 0.9311 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008496/1.169, allocations: 411.7 kB / 0.9315 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/1.171, allocations: 0.6509 MB / 0.9321 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/1.177, allocations: 2.253 MB / 0.9343 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.177, allocations: 0 / 0.9343 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.394e-06/1.177, allocations: 4 kB / 0.9343 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.578e-05/1.177, allocations: 0 / 0.9343 GB, free: 17.49 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00609/1.183, allocations: 1.72 MB / 0.936 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.183, allocations: 8.281 kB / 0.936 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00583/1.189, allocations: 0.9293 MB / 0.9369 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/1.191, allocations: 0.9198 MB / 0.9378 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.191, allocations: 67 kB / 0.9379 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/1.191, allocations: 100.5 kB / 0.938 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/1.196, allocations: 1.585 MB / 0.9395 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.196, allocations: 2.906 kB / 0.9395 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/1.196, allocations: 35.23 kB / 0.9395 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/1.196, allocations: 51.3 kB / 0.9396 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005235/1.201, allocations: 1.837 MB / 0.9414 GB, free: 15.89 MB / 0.7325 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.009031/1.21, allocations: 4.771 MB / 0.946 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/1.215, allocations: 1.589 MB / 0.9476 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/1.217, allocations: 0.8556 MB / 0.9484 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.218, allocations: 0.9544 MB / 0.9494 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002407/1.221, allocations: 0.9086 MB / 0.9502 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.456e-06/1.221, allocations: 4 kB / 0.9502 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007721/1.229, allocations: 2.444 MB / 0.9526 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.229, allocations: 71.62 kB / 0.9527 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.23, allocations: 1.207 MB / 0.9539 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/1.231, allocations: 46.67 kB / 0.9539 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/1.231, allocations: 0.545 MB / 0.9545 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.231, allocations: 324.9 kB / 0.9548 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.232, allocations: 84.58 kB / 0.9548 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.232, allocations: 341.5 kB / 0.9552 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/1.234, allocations: 0.7001 MB / 0.9559 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/1.236, allocations: 0.9255 MB / 0.9568 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/1.24, allocations: 1.548 MB / 0.9583 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.241, allocations: 0 / 0.9583 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004985/1.246, allocations: 1.779 MB / 0.96 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.246, allocations: 6.938 kB / 0.96 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.246, allocations: 5.062 kB / 0.96 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.246, allocations: 12.81 kB / 0.96 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.247, allocations: 339.5 kB / 0.9604 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/1.247, allocations: 8.656 kB / 0.9604 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.249, allocations: 260 kB / 0.9606 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.25, allocations: 49.06 kB / 0.9607 GB, free: 11.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007029/1.25, allocations: 347.3 kB / 0.961 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/1.251, allocations: 133.1 kB / 0.9611 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/1.256, allocations: 1.803 MB / 0.9629 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.256, allocations: 10.14 kB / 0.9629 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.256, allocations: 0 / 0.9629 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.256, allocations: 2.953 kB / 0.9629 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007306/1.263, allocations: 3.327 MB / 0.9661 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.263, allocations: 2.906 kB / 0.9661 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.265, allocations: 296.4 kB / 0.9664 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/1.265, allocations: 10.3 kB / 0.9664 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.265, allocations: 34.41 kB / 0.9665 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/1.265, allocations: 12.97 kB / 0.9665 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.265, allocations: 9.5 kB / 0.9665 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007229/1.272, allocations: 2.837 MB / 0.9693 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/1.273, allocations: 330.1 kB / 0.9696 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.273, allocations: 28.52 kB / 0.9696 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.275, allocations: 168.5 kB / 0.9698 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.275, allocations: 73.55 kB / 0.9698 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.275, allocations: 43.89 kB / 0.9699 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001282/1.276, allocations: 0.8392 MB / 0.9707 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.276, allocations: 0 / 0.9707 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001259/1.278, allocations: 349.1 kB / 0.971 GB, free: 8.379 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00137/1.279, allocations: 0.5272 MB / 0.9715 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005238/1.284, allocations: 1.619 MB / 0.9731 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.284, allocations: 256 / 0.9731 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.287, allocations: 0.8407 MB / 0.9739 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.291, allocations: 0.6067 MB / 0.9745 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/1.299, allocations: 3.525 MB / 0.978 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009802/1.3, allocations: 1.185 MB / 0.9791 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00197/1.302, allocations: 378.1 kB / 0.9795 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/1.302, allocations: 120 kB / 0.9796 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.153e-06/1.302, allocations: 0 / 0.9796 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of Templates: time 0.03891/1.341, allocations: 23.05 MB / 1.002 GB, free: 1.004 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: