Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 143.4 MB / 159.2 MB, free: 4.941 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.2 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001916, allocations: 274.4 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.89 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3878, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.502/0.8898, allocations: 168.7 MB / 0.9327 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006554/0.8964, allocations: 4.33 MB / 0.9369 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/0.8974, allocations: 18.72 kB / 0.9369 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.8985, allocations: 300.5 kB / 0.9372 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.9011, allocations: 0.9383 MB / 0.9381 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9032, allocations: 0.7202 MB / 0.9388 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.9055, allocations: 1.797 MB / 0.9406 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.9063, allocations: 406.7 kB / 0.941 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.9076, allocations: 0.6031 MB / 0.9416 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.9086, allocations: 470.9 kB / 0.942 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.9087, allocations: 30.47 kB / 0.942 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.9104, allocations: 1.004 MB / 0.943 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.9106, allocations: 192 kB / 0.9432 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.911, allocations: 303.5 kB / 0.9435 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.9123, allocations: 1.15 MB / 0.9446 GB, free: 4 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9123, allocations: 0 / 0.9446 GB, free: 4 kB / 0.5573 GB Notification: Performance of FrontEnd: time 6.02e-07/0.9124, allocations: 2.625 kB / 0.9446 GB, free: 4 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.9124, allocations: 3.406 kB / 0.9446 GB, free: 4 kB / 0.5573 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.001632/0.914, allocations: 0.9409 MB / 0.9455 GB, free: 15.42 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.9141, allocations: 11.72 kB / 0.9456 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.9157, allocations: 266.2 kB / 0.9458 GB, free: 15.38 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.9165, allocations: 482.4 kB / 0.9463 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.9168, allocations: 88.55 kB / 0.9464 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.9169, allocations: 40.25 kB / 0.9464 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.9181, allocations: 0.6246 MB / 0.947 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9182, allocations: 0 / 0.947 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.9182, allocations: 21.5 kB / 0.947 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.9182, allocations: 22.72 kB / 0.947 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.9196, allocations: 0.5558 MB / 0.9476 GB, free: 14.98 MB / 0.573 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.003899/0.9235, allocations: 2.284 MB / 0.9498 GB, free: 13.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.9245, allocations: 289.6 kB / 0.9501 GB, free: 13.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.9251, allocations: 176.5 kB / 0.9503 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.9251, allocations: 4.094 kB / 0.9503 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.9252, allocations: 40.44 kB / 0.9503 GB, free: 13.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/0.9252, allocations: 0 / 0.9503 GB, free: 13.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.005204/0.9304, allocations: 1.108 MB / 0.9514 GB, free: 13.64 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.9304, allocations: 80.39 kB / 0.9515 GB, free: 13.54 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.9311, allocations: 0.5479 MB / 0.952 GB, free: 13.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.9311, allocations: 32.3 kB / 0.952 GB, free: 13.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.9314, allocations: 300.4 kB / 0.9523 GB, free: 13.22 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.9314, allocations: 40.91 kB / 0.9524 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.9316, allocations: 60.17 kB / 0.9524 GB, free: 13.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.9318, allocations: 357.3 kB / 0.9528 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.9324, allocations: 194.3 kB / 0.9529 GB, free: 12.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/0.9331, allocations: 289.3 kB / 0.9532 GB, free: 12.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.9344, allocations: 414.2 kB / 0.9536 GB, free: 12.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9344, allocations: 0 / 0.9536 GB, free: 12.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002727/0.9371, allocations: 0.7436 MB / 0.9543 GB, free: 12.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9372, allocations: 8.094 kB / 0.9543 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.9372, allocations: 2.469 kB / 0.9543 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.9378, allocations: 191.8 kB / 0.9545 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.9382, allocations: 68.2 kB / 0.9546 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.9417, allocations: 2.102 MB / 0.9566 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.9425, allocations: 86.62 kB / 0.9567 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.9425, allocations: 13.09 kB / 0.9567 GB, free: 11.2 MB / 0.573 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.000296/0.9428, allocations: 187.8 kB / 0.9569 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.9429, allocations: 49.25 kB / 0.957 GB, free: 11.06 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.943, allocations: 49.02 kB / 0.957 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.943, allocations: 2.812 kB / 0.957 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.943, allocations: 7.938 kB / 0.957 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.943, allocations: 0 / 0.957 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.9461, allocations: 1.134 MB / 0.9581 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9461, allocations: 4.922 kB / 0.9581 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.9464, allocations: 43.72 kB / 0.9582 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.947, allocations: 186.2 kB / 0.9584 GB, free: 10.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.947, allocations: 1.547 kB / 0.9584 GB, free: 10.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.9504, allocations: 2.033 MB / 0.9603 GB, free: 9.379 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9504, allocations: 1.203 kB / 0.9603 GB, free: 9.379 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.954, allocations: 1.553 MB / 0.9619 GB, free: 8.566 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.9543, allocations: 170 kB / 0.962 GB, free: 8.449 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.9544, allocations: 0 / 0.962 GB, free: 8.449 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.955, allocations: 62.98 kB / 0.9621 GB, free: 8.441 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.9551, allocations: 18.16 kB / 0.9621 GB, free: 8.438 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.9551, allocations: 14.94 kB / 0.9621 GB, free: 8.438 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004194/0.9555, allocations: 397.5 kB / 0.9625 GB, free: 8.348 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.733e-06/0.9555, allocations: 0 / 0.9625 GB, free: 8.348 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007418/0.9563, allocations: 190 kB / 0.9627 GB, free: 8.332 MB / 0.573 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.0004222/0.9567, allocations: 165.6 kB / 0.9628 GB, free: 8.234 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.9584, allocations: 0.5293 MB / 0.9634 GB, free: 8.023 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9584, allocations: 3.375 kB / 0.9634 GB, free: 8.023 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007623/0.9591, allocations: 306 kB / 0.9636 GB, free: 7.855 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.9606, allocations: 301.4 kB / 0.9639 GB, free: 7.754 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.9638, allocations: 1.372 MB / 0.9653 GB, free: 6.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.9642, allocations: 0.8579 MB / 0.9661 GB, free: 6.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004398/0.9646, allocations: 105.5 kB / 0.9662 GB, free: 6.113 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.9647, allocations: 36.3 kB / 0.9662 GB, free: 6.102 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.9647, allocations: 0 / 0.9662 GB, free: 6.102 MB / 0.573 GB Notification: Performance of Templates: time 0.01822/0.983, allocations: 12.17 MB / 0.9781 GB, free: 108 kB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)