Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001461/0.001461, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.618/1.618, allocations: 205.1 MB / 222 MB, free: 4.758 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.84/1.84, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.00145/0.001451, allocations: 65.45 kB / 0.6708 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7713/1.102, allocations: 168.7 MB / 0.9474 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007996/1.11, allocations: 4.321 MB / 0.9517 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/1.112, allocations: 17.91 kB / 0.9517 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/1.114, allocations: 303.7 kB / 0.952 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/1.118, allocations: 0.9339 MB / 0.9529 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/1.121, allocations: 0.7161 MB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004829/1.126, allocations: 1.786 MB / 0.9553 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/1.127, allocations: 426.3 kB / 0.9557 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/1.129, allocations: 0.5907 MB / 0.9563 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/1.13, allocations: 475.5 kB / 0.9568 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.13, allocations: 29.59 kB / 0.9568 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/1.133, allocations: 1.003 MB / 0.9578 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/1.134, allocations: 188.4 kB / 0.9579 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008771/1.135, allocations: 302.4 kB / 0.9582 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/1.137, allocations: 1.143 MB / 0.9594 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.137, allocations: 0 / 0.9594 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/1.137, allocations: 1.094 kB / 0.9594 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.268e-06/1.137, allocations: 1.125 kB / 0.9594 GB, free: 5.391 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002266/1.14, allocations: 0.951 MB / 0.9603 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.14, allocations: 9.719 kB / 0.9603 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/1.141, allocations: 264.1 kB / 0.9605 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/1.142, allocations: 482.3 kB / 0.961 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/1.143, allocations: 84.25 kB / 0.9611 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/1.143, allocations: 42.33 kB / 0.9611 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/1.144, allocations: 0.6287 MB / 0.9617 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.144, allocations: 0 / 0.9617 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/1.144, allocations: 20.06 kB / 0.9618 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/1.144, allocations: 20 kB / 0.9618 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.146, allocations: 0.5575 MB / 0.9623 GB, free: 20.37 MB / 0.7481 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.004249/1.15, allocations: 2.287 MB / 0.9646 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/1.151, allocations: 290.2 kB / 0.9648 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/1.151, allocations: 174.6 kB / 0.965 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/1.152, allocations: 2.219 kB / 0.965 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.152, allocations: 46.52 kB / 0.965 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.152, allocations: 0 / 0.965 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.005611/1.157, allocations: 1.098 MB / 0.9661 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/1.157, allocations: 79.5 kB / 0.9662 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/1.158, allocations: 0.5557 MB / 0.9667 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/1.158, allocations: 27.89 kB / 0.9668 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/1.158, allocations: 310.8 kB / 0.9671 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/1.158, allocations: 43.45 kB / 0.9671 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.159, allocations: 60.47 kB / 0.9672 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.159, allocations: 354.8 kB / 0.9675 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/1.159, allocations: 192.2 kB / 0.9677 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/1.16, allocations: 279.9 kB / 0.9679 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/1.161, allocations: 421.3 kB / 0.9683 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.161, allocations: 4 kB / 0.9684 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002715/1.164, allocations: 0.7363 MB / 0.9691 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.164, allocations: 6.656 kB / 0.9691 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.164, allocations: 6.375 kB / 0.9691 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/1.165, allocations: 180.6 kB / 0.9693 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/1.165, allocations: 81.69 kB / 0.9693 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/1.169, allocations: 2.079 MB / 0.9714 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/1.169, allocations: 87.39 kB / 0.9714 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.17, allocations: 9.062 kB / 0.9715 GB, free: 16.6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003323/1.17, allocations: 196.4 kB / 0.9716 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/1.17, allocations: 49 kB / 0.9717 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/1.17, allocations: 49.28 kB / 0.9717 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.17, allocations: 4.062 kB / 0.9717 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.17, allocations: 6.312 kB / 0.9717 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.17, allocations: 0 / 0.9717 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/1.173, allocations: 1.143 MB / 0.9729 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.173, allocations: 1.188 kB / 0.9729 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/1.173, allocations: 42.64 kB / 0.9729 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/1.174, allocations: 179.9 kB / 0.9731 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.174, allocations: 2.75 kB / 0.9731 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/1.177, allocations: 2.042 MB / 0.9751 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.177, allocations: 1.438 kB / 0.9751 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/1.18, allocations: 0.7122 MB / 0.9758 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/1.18, allocations: 167.1 kB / 0.9759 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/1.18, allocations: 5.312 kB / 0.9759 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/1.181, allocations: 58.36 kB / 0.976 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/1.181, allocations: 11.78 kB / 0.976 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/1.181, allocations: 14.98 kB / 0.976 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005452/1.182, allocations: 398.8 kB / 0.9764 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.182, allocations: 0 / 0.9764 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007706/1.182, allocations: 184.7 kB / 0.9766 GB, free: 14.34 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/1.183, allocations: 186.2 kB / 0.9768 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.184, allocations: 0.5265 MB / 0.9773 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.184, allocations: 5.719 kB / 0.9773 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/1.185, allocations: 303.4 kB / 0.9776 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.187, allocations: 297.1 kB / 0.9778 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.19, allocations: 1.236 MB / 0.979 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/1.19, allocations: 0.8594 MB / 0.9799 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005564/1.191, allocations: 102.4 kB / 0.98 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.191, allocations: 36.95 kB / 0.98 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.191, allocations: 0 / 0.98 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.02455/1.215, allocations: 11.86 MB / 0.9916 GB, free: 9.262 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)