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.004734/0.004734, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001101/0.001101, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 275 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 95.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.98 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.54/0.7031, allocations: 190.6 MB / 0.9525 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008735/0.7119, allocations: 5.73 MB / 0.9581 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.7129, allocations: 47.75 kB / 0.9582 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.7144, allocations: 0.5708 MB / 0.9587 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.718, allocations: 1.625 MB / 0.9603 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7208, allocations: 1.224 MB / 0.9615 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.7236, allocations: 2.559 MB / 0.964 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7247, allocations: 0.8745 MB / 0.9649 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.7264, allocations: 1.059 MB / 0.9659 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.7278, allocations: 0.8141 MB / 0.9667 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.728, allocations: 96 kB / 0.9668 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.7306, allocations: 1.543 MB / 0.9683 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.731, allocations: 406.9 kB / 0.9687 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.7316, allocations: 0.5872 MB / 0.9693 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.7343, allocations: 2.029 MB / 0.9712 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7343, allocations: 0 / 0.9712 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7343, allocations: 0 / 0.9712 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.7343, allocations: 0 / 0.9712 GB, free: 0.957 MB / 0.7169 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.00228/0.7366, allocations: 1.426 MB / 0.9726 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.7366, allocations: 8.031 kB / 0.9726 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.7392, allocations: 418.3 kB / 0.973 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.7407, allocations: 0.7999 MB / 0.9738 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.7408, allocations: 58 kB / 0.9739 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7409, allocations: 75.94 kB / 0.9739 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7427, allocations: 0.9866 MB / 0.9749 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7427, allocations: 4 kB / 0.9749 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.7428, allocations: 39.98 kB / 0.975 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.7429, allocations: 26 kB / 0.975 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.7448, allocations: 0.8704 MB / 0.9758 GB, free: 12.14 MB / 0.7325 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.005754/0.7505, allocations: 3.472 MB / 0.9792 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7521, allocations: 0.6009 MB / 0.9798 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.7529, allocations: 341.2 kB / 0.9801 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.7531, allocations: 105.4 kB / 0.9802 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7531, allocations: 39.22 kB / 0.9803 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 3.186e-06/0.7531, allocations: 0 / 0.9803 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007754/0.7609, allocations: 2.39 MB / 0.9826 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7609, allocations: 63.34 kB / 0.9827 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.7619, allocations: 0.794 MB / 0.9834 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.762, allocations: 37.7 kB / 0.9835 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.7623, allocations: 439.8 kB / 0.9839 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.7624, allocations: 149.8 kB / 0.984 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.7626, allocations: 106.2 kB / 0.9841 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7627, allocations: 326 kB / 0.9845 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/0.7635, allocations: 308.8 kB / 0.9847 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.7643, allocations: 408.1 kB / 0.9851 GB, free: 2.238 MB / 0.7325 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.005059/0.7694, allocations: 1.878 MB / 0.987 GB, free: 312 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7694, allocations: 3.938 kB / 0.987 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003049/0.7725, allocations: 1.035 MB / 0.988 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7725, allocations: 7.984 kB / 0.988 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7725, allocations: 4 kB / 0.988 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.7731, allocations: 184.8 kB / 0.9882 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.7738, allocations: 143.8 kB / 0.9883 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.7775, allocations: 2.238 MB / 0.9905 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.7784, allocations: 59.98 kB / 0.9905 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.7784, allocations: 16 kB / 0.9906 GB, free: 12.47 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0003972/0.7789, allocations: 277.6 kB / 0.9908 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.779, allocations: 90.91 kB / 0.9909 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.7792, allocations: 100.2 kB / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7792, allocations: 4 kB / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.7792, allocations: 0 / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002691/0.7819, allocations: 0.8996 MB / 0.9919 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/0.7869, allocations: 2.087 MB / 0.9939 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7869, allocations: 15.97 kB / 0.9939 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.7875, allocations: 123.8 kB / 0.9941 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.788, allocations: 196.6 kB / 0.9943 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.7881, allocations: 11.98 kB / 0.9943 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.7915, allocations: 2.184 MB / 0.9964 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7916, allocations: 4.031 kB / 0.9964 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/0.7952, allocations: 1.41 MB / 0.9978 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.7956, allocations: 240 kB / 0.998 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.7957, allocations: 12.19 kB / 0.998 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.7965, allocations: 60 kB / 0.9981 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.7966, allocations: 43.83 kB / 0.9981 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.7967, allocations: 27.98 kB / 0.9981 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006373/0.7974, allocations: 0.5615 MB / 0.9987 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7974, allocations: 0 / 0.9987 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007897/0.7982, allocations: 272 kB / 0.999 GB, free: 3.523 MB / 0.7481 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.0004137/0.7986, allocations: 212.8 kB / 0.9992 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.8005, allocations: 0.8052 MB / 0.9999 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8005, allocations: 0 / 0.9999 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.8014, allocations: 470.9 kB / 1 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.8036, allocations: 0.5383 MB / 1.001 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.8075, allocations: 1.899 MB / 1.003 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.8081, allocations: 1.044 MB / 1.004 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006418/0.8087, allocations: 215.1 kB / 1.004 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8089, allocations: 67.44 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.8089, allocations: 0 / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of Templates: time 0.03236/0.8413, allocations: 21.16 MB / 1.025 GB, free: 9.336 MB / 0.7794 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)