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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 86.8 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.001234/0.001234, 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 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 262.9 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003909, allocations: 20.42 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1343, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4193/0.5536, allocations: 155.3 MB / 0.8362 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00567/0.5593, allocations: 4.026 MB / 0.8401 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.5599, allocations: 21.03 kB / 0.8401 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.5606, allocations: 226 kB / 0.8403 GB, free: 6.289 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001791/0.5624, allocations: 0.745 MB / 0.8411 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.564, allocations: 0.6055 MB / 0.8417 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.5656, allocations: 1.521 MB / 0.8432 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.5661, allocations: 352.2 kB / 0.8435 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.5671, allocations: 0.5515 MB / 0.844 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/0.5678, allocations: 435.1 kB / 0.8444 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.5679, allocations: 25.88 kB / 0.8445 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5691, allocations: 0.6125 MB / 0.8451 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.5693, allocations: 181.8 kB / 0.8452 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.5695, allocations: 151.3 kB / 0.8454 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.5703, allocations: 0.7937 MB / 0.8462 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5703, allocations: 0 / 0.8462 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5703, allocations: 0 / 0.8462 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.5703, allocations: 0 / 0.8462 GB, free: 2.641 MB / 0.5606 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.001351/0.5717, allocations: 0.8491 MB / 0.847 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.5717, allocations: 10.66 kB / 0.847 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5732, allocations: 281.7 kB / 0.8473 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/0.574, allocations: 473.6 kB / 0.8477 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.5743, allocations: 94 kB / 0.8478 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.5743, allocations: 38.38 kB / 0.8478 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.5755, allocations: 0.6502 MB / 0.8485 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5756, allocations: 3.984 kB / 0.8485 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.5756, allocations: 16.56 kB / 0.8485 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.5757, allocations: 21.78 kB / 0.8485 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.577, allocations: 0.5818 MB / 0.8491 GB, free: 0.6992 MB / 0.5606 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.003582/0.5805, allocations: 2.297 MB / 0.8513 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.5814, allocations: 309.7 kB / 0.8516 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.5819, allocations: 189.6 kB / 0.8518 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.582, allocations: 2.781 kB / 0.8518 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.582, allocations: 41.72 kB / 0.8518 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 3.867e-06/0.582, allocations: 0 / 0.8518 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004615/0.5866, allocations: 1.197 MB / 0.853 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5867, allocations: 81.05 kB / 0.8531 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.5873, allocations: 0.5454 MB / 0.8536 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.5873, allocations: 25.7 kB / 0.8537 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.5875, allocations: 304.3 kB / 0.8539 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.5876, allocations: 41.2 kB / 0.854 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.5876, allocations: 6.969 kB / 0.854 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5877, allocations: 357.6 kB / 0.8543 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5883, allocations: 215 kB / 0.8545 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.5889, allocations: 278.2 kB / 0.8548 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.5895, allocations: 236.1 kB / 0.855 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5895, allocations: 0 / 0.855 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002419/0.5919, allocations: 0.7787 MB / 0.8558 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5919, allocations: 5.125 kB / 0.8558 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5919, allocations: 2.906 kB / 0.8558 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/0.5925, allocations: 192.8 kB / 0.856 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.5929, allocations: 81.34 kB / 0.8561 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.5969, allocations: 2.195 MB / 0.8582 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.5975, allocations: 95.75 kB / 0.8583 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.5975, allocations: 11.89 kB / 0.8583 GB, free: 10.1 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.5977, allocations: 194.1 kB / 0.8585 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.5978, allocations: 48.09 kB / 0.8585 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.5979, allocations: 52.03 kB / 0.8586 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5979, allocations: 4 kB / 0.8586 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.5979, allocations: 0 / 0.8586 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.598, allocations: 0 / 0.8586 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.6007, allocations: 1.19 MB / 0.8597 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6008, allocations: 2.438 kB / 0.8597 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.601, allocations: 46.7 kB / 0.8598 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.6015, allocations: 185 kB / 0.86 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.6015, allocations: 6.375 kB / 0.86 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.6046, allocations: 2.07 MB / 0.862 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6046, allocations: 0 / 0.862 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.6068, allocations: 0.7579 MB / 0.8627 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.6071, allocations: 166 kB / 0.8629 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.6071, allocations: 6.938 kB / 0.8629 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.6077, allocations: 63.3 kB / 0.863 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.6078, allocations: 21.72 kB / 0.863 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.6078, allocations: 11.95 kB / 0.863 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004005/0.6082, allocations: 388.1 kB / 0.8634 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6082, allocations: 0 / 0.8634 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006044/0.6088, allocations: 182.8 kB / 0.8635 GB, free: 6.312 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.6092, allocations: 177.8 kB / 0.8637 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6111, allocations: 0.6466 MB / 0.8643 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6111, allocations: 0 / 0.8643 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006699/0.6118, allocations: 324.1 kB / 0.8646 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6131, allocations: 306.9 kB / 0.8649 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.6159, allocations: 1.264 MB / 0.8662 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.6163, allocations: 0.8612 MB / 0.867 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.6167, allocations: 110.8 kB / 0.8671 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.6168, allocations: 34.88 kB / 0.8672 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6168, allocations: 0 / 0.8672 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.01713/0.634, allocations: 11.33 MB / 0.8782 GB, free: 9.375 MB / 0.5919 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)