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.001769/0.001769, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001992/0.001992, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002706/0.002706, allocations: 286.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5069 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 102.1 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1713, allocations: 89.14 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4955/0.6669, allocations: 168.7 MB / 0.8577 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.6738, allocations: 4.271 MB / 0.8619 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006905/0.6745, allocations: 20.91 kB / 0.8619 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009775/0.6755, allocations: 297.6 kB / 0.8622 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.6779, allocations: 0.9427 MB / 0.8631 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.68, allocations: 0.7443 MB / 0.8638 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.6816, allocations: 1.284 MB / 0.8651 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.6822, allocations: 486.1 kB / 0.8655 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.6835, allocations: 0.6674 MB / 0.8662 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.6849, allocations: 488.7 kB / 0.8667 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.685, allocations: 52.66 kB / 0.8667 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.6867, allocations: 0.9401 MB / 0.8676 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.687, allocations: 221.1 kB / 0.8678 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.6873, allocations: 325.7 kB / 0.8681 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.6889, allocations: 1.171 MB / 0.8693 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6889, allocations: 0 / 0.8693 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6889, allocations: 0 / 0.8693 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.6889, allocations: 0 / 0.8693 GB, free: 5.125 MB / 0.5919 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.001793/0.6907, allocations: 0.9474 MB / 0.8702 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6908, allocations: 13.97 kB / 0.8702 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.6925, allocations: 267.4 kB / 0.8705 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/0.6934, allocations: 484.5 kB / 0.8709 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.6937, allocations: 91.25 kB / 0.871 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.6938, allocations: 39.66 kB / 0.8711 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6951, allocations: 0.6273 MB / 0.8717 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6951, allocations: 0 / 0.8717 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.6952, allocations: 20.69 kB / 0.8717 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.6952, allocations: 18.75 kB / 0.8717 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6966, allocations: 0.5575 MB / 0.8723 GB, free: 3.102 MB / 0.5919 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.004217/0.7009, allocations: 2.28 MB / 0.8745 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.7018, allocations: 289.9 kB / 0.8748 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.7024, allocations: 169.2 kB / 0.8749 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.7025, allocations: 15.92 kB / 0.8749 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.7025, allocations: 33.12 kB / 0.875 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.7025, allocations: 224 / 0.875 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005434/0.7079, allocations: 1.103 MB / 0.8761 GB, free: 344 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.708, allocations: 81.11 kB / 0.8761 GB, free: 244 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.7089, allocations: 0.5534 MB / 0.8767 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.709, allocations: 33.7 kB / 0.8767 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.7092, allocations: 303.5 kB / 0.877 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.7093, allocations: 35.45 kB / 0.877 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.7094, allocations: 65.59 kB / 0.8771 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7096, allocations: 354.8 kB / 0.8774 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.7102, allocations: 191.8 kB / 0.8776 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.711, allocations: 277.8 kB / 0.8779 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.7122, allocations: 420.3 kB / 0.8783 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.7122, allocations: 4 kB / 0.8783 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002852/0.7151, allocations: 0.7355 MB / 0.879 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7151, allocations: 4 kB / 0.879 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.7151, allocations: 4.094 kB / 0.879 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/0.7158, allocations: 190.6 kB / 0.8792 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.7162, allocations: 79.88 kB / 0.8793 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.7207, allocations: 2.248 MB / 0.8815 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.7214, allocations: 79.48 kB / 0.8815 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.7215, allocations: 9.328 kB / 0.8815 GB, free: 10.45 MB / 0.6075 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.0003705/0.7219, allocations: 193.7 kB / 0.8817 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.722, allocations: 51.34 kB / 0.8818 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.7221, allocations: 59.97 kB / 0.8818 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7221, allocations: 0 / 0.8818 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.7221, allocations: 3.938 kB / 0.8818 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7221, allocations: 0 / 0.8818 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.7255, allocations: 1.137 MB / 0.8829 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7255, allocations: 4.062 kB / 0.883 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.7258, allocations: 42.64 kB / 0.883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005602/0.7264, allocations: 180.7 kB / 0.8832 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.7264, allocations: 8 kB / 0.8832 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.7304, allocations: 2.184 MB / 0.8853 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7304, allocations: 0 / 0.8853 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.7331, allocations: 0.7157 MB / 0.886 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.7334, allocations: 164.5 kB / 0.8862 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.7335, allocations: 5.375 kB / 0.8862 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.7341, allocations: 67.8 kB / 0.8862 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.7342, allocations: 15.92 kB / 0.8862 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.7343, allocations: 15.98 kB / 0.8863 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005024/0.7348, allocations: 390.8 kB / 0.8866 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7348, allocations: 0 / 0.8866 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006909/0.7355, allocations: 187.7 kB / 0.8868 GB, free: 4.785 MB / 0.6075 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.0004519/0.7359, allocations: 176.5 kB / 0.887 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.7376, allocations: 0.5335 MB / 0.8875 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7376, allocations: 3.938 kB / 0.8875 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.7384, allocations: 315 kB / 0.8878 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.7399, allocations: 303.7 kB / 0.8881 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.7434, allocations: 1.24 MB / 0.8893 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.744, allocations: 0.8621 MB / 0.8901 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004957/0.7445, allocations: 100.5 kB / 0.8902 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.7446, allocations: 39.42 kB / 0.8903 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.7446, allocations: 4 kB / 0.8903 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.02269/0.7673, allocations: 12.28 MB / 0.9023 GB, free: 5.082 MB / 0.6231 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)