Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 97.64 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.006142/0.006142, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 274.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 21.08 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1869, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.5556/0.7425, allocations: 185.9 MB / 0.8666 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009401/0.7519, allocations: 5.729 MB / 0.8722 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.7533, allocations: 38.81 kB / 0.8723 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.7547, allocations: 0.4923 MB / 0.8727 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.7594, allocations: 1.532 MB / 0.8742 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.7625, allocations: 1.089 MB / 0.8753 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.7668, allocations: 3.541 MB / 0.8788 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.768, allocations: 0.726 MB / 0.8795 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.77, allocations: 0.8781 MB / 0.8803 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.772, allocations: 0.8112 MB / 0.8811 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.7722, allocations: 36.41 kB / 0.8812 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.7756, allocations: 1.719 MB / 0.8828 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.776, allocations: 339 kB / 0.8832 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008027/0.7768, allocations: 0.542 MB / 0.8837 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.78, allocations: 2.013 MB / 0.8856 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7801, allocations: 0 / 0.8856 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7801, allocations: 0 / 0.8856 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.7801, allocations: 0 / 0.8856 GB, free: 2.676 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.0021/0.7822, allocations: 1.241 MB / 0.8869 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7823, allocations: 8.031 kB / 0.8869 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.7849, allocations: 438.3 kB / 0.8873 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.7862, allocations: 0.7746 MB / 0.888 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.7866, allocations: 117.9 kB / 0.8882 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.7867, allocations: 72.05 kB / 0.8882 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.7886, allocations: 1.018 MB / 0.8892 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.7887, allocations: 0 / 0.8892 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.7888, allocations: 36 kB / 0.8893 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.7888, allocations: 29.98 kB / 0.8893 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.7909, allocations: 0.9134 MB / 0.8902 GB, free: 13.93 MB / 0.6075 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.006279/0.7972, allocations: 3.541 MB / 0.8936 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.7989, allocations: 0.6576 MB / 0.8943 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008307/0.7997, allocations: 358 kB / 0.8946 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.7999, allocations: 109.4 kB / 0.8947 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.8, allocations: 39.22 kB / 0.8948 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.8, allocations: 0 / 0.8948 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008452/0.8084, allocations: 2.527 MB / 0.8972 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.8085, allocations: 55.41 kB / 0.8973 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.8096, allocations: 0.7979 MB / 0.8981 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.8097, allocations: 37.7 kB / 0.8981 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.81, allocations: 439.8 kB / 0.8985 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.8102, allocations: 149.8 kB / 0.8987 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.8103, allocations: 49.69 kB / 0.8987 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8104, allocations: 330 kB / 0.899 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008485/0.8113, allocations: 320.9 kB / 0.8993 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.8122, allocations: 428.1 kB / 0.8997 GB, free: 3.773 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.8179, allocations: 1.984 MB / 0.9017 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8179, allocations: 0 / 0.9017 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003538/0.8215, allocations: 1.097 MB / 0.9027 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.8215, allocations: 4 kB / 0.9027 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8215, allocations: 4 kB / 0.9027 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.8222, allocations: 192.8 kB / 0.9029 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.823, allocations: 159.8 kB / 0.9031 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.8272, allocations: 2.116 MB / 0.9051 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.8285, allocations: 95.83 kB / 0.9052 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.8286, allocations: 20 kB / 0.9053 GB, free: 13.91 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * 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.0005439/0.8291, allocations: 277.6 kB / 0.9055 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.8293, allocations: 86.97 kB / 0.9056 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.8295, allocations: 104.2 kB / 0.9057 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8295, allocations: 4 kB / 0.9057 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8296, allocations: 3.938 kB / 0.9057 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003019/0.8326, allocations: 0.9455 MB / 0.9066 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.8382, allocations: 2.181 MB / 0.9088 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.8382, allocations: 4.406 kB / 0.9088 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.8389, allocations: 139.8 kB / 0.9089 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005796/0.8395, allocations: 192.7 kB / 0.9091 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.8395, allocations: 19.94 kB / 0.9091 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.8432, allocations: 2.069 MB / 0.9111 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.8432, allocations: 7.938 kB / 0.9111 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/0.8474, allocations: 1.487 MB / 0.9126 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.848, allocations: 240 kB / 0.9128 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.8481, allocations: 8 kB / 0.9128 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.8491, allocations: 103.8 kB / 0.9129 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.8492, allocations: 43.81 kB / 0.913 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.8493, allocations: 35.97 kB / 0.913 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007118/0.85, allocations: 0.5536 MB / 0.9135 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.85, allocations: 4 kB / 0.9135 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008816/0.8509, allocations: 272 kB / 0.9138 GB, free: 4.797 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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.0004454/0.8513, allocations: 203.3 kB / 0.914 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.8535, allocations: 0.825 MB / 0.9148 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8535, allocations: 0 / 0.9148 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.8545, allocations: 486.7 kB / 0.9153 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.8573, allocations: 0.5272 MB / 0.9158 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.8617, allocations: 2.328 MB / 0.9181 GB, free: 368 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.8624, allocations: 1.036 MB / 0.9191 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009049/0.8633, allocations: 207.1 kB / 0.9193 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.8635, allocations: 67.44 kB / 0.9193 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8635, allocations: 0 / 0.9193 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.04447/0.908, allocations: 19.63 MB / 0.9385 GB, free: 11.7 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)