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.001371/0.001372, allocations: 103.3 kB / 16.4 MB, free: 6.508 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.001409/0.001409, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 293.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 92.14 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.468, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1963/0.6643, allocations: 190.6 MB / 0.9532 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4433/1.108, allocations: 5.726 MB / 0.9588 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/1.109, allocations: 43.41 kB / 0.9588 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/1.111, allocations: 0.5736 MB / 0.9594 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/1.116, allocations: 1.628 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/1.12, allocations: 1.21 MB / 0.9622 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004087/1.124, allocations: 2.563 MB / 0.9647 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.125, allocations: 0.8702 MB / 0.9655 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/1.127, allocations: 1.067 MB / 0.9666 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/1.129, allocations: 0.8141 MB / 0.9674 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/1.129, allocations: 95.69 kB / 0.9674 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/1.133, allocations: 1.54 MB / 0.969 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/1.133, allocations: 409.4 kB / 0.9693 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008657/1.134, allocations: 0.5871 MB / 0.9699 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/1.137, allocations: 2.027 MB / 0.9719 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.137, allocations: 0 / 0.9719 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.137, allocations: 0.7812 kB / 0.9719 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.861e-05/1.137, allocations: 0 / 0.9719 GB, free: 1.605 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.002374/1.14, allocations: 1.437 MB / 0.9733 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.14, allocations: 7.969 kB / 0.9733 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/1.142, allocations: 412.3 kB / 0.9737 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.143, allocations: 0.8055 MB / 0.9745 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/1.143, allocations: 59.34 kB / 0.9745 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/1.144, allocations: 73.3 kB / 0.9746 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.145, allocations: 0.9882 MB / 0.9756 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.145, allocations: 4.812 kB / 0.9756 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/1.145, allocations: 31.69 kB / 0.9756 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/1.145, allocations: 28.94 kB / 0.9756 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.147, allocations: 0.8703 MB / 0.9765 GB, free: 16.36 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.005379/1.153, allocations: 3.479 MB / 0.9799 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.154, allocations: 0.6063 MB / 0.9805 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/1.155, allocations: 337 kB / 0.9808 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.155, allocations: 97.19 kB / 0.9809 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.155, allocations: 45.38 kB / 0.9809 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/1.155, allocations: 0 / 0.9809 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007274/1.162, allocations: 2.392 MB / 0.9833 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.162, allocations: 57.44 kB / 0.9833 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/1.163, allocations: 0.8001 MB / 0.9841 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/1.163, allocations: 35.2 kB / 0.9841 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/1.163, allocations: 451.2 kB / 0.9846 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.164, allocations: 144.4 kB / 0.9847 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.164, allocations: 110.9 kB / 0.9848 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/1.164, allocations: 325.4 kB / 0.9851 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/1.165, allocations: 300.5 kB / 0.9854 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/1.165, allocations: 411.6 kB / 0.9858 GB, free: 13.43 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.004764/1.17, allocations: 1.875 MB / 0.9876 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.17, allocations: 0 / 0.9876 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002937/1.173, allocations: 1.035 MB / 0.9886 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.173, allocations: 9.594 kB / 0.9887 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.173, allocations: 4.812 kB / 0.9887 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/1.174, allocations: 187.5 kB / 0.9888 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/1.174, allocations: 149 kB / 0.989 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/1.178, allocations: 2.228 MB / 0.9912 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/1.179, allocations: 56.3 kB / 0.9912 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/1.179, allocations: 25.11 kB / 0.9912 GB, free: 11.75 MB / 0.7325 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.0004461/1.18, allocations: 271.2 kB / 0.9915 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.18, allocations: 91.62 kB / 0.9916 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/1.18, allocations: 96.16 kB / 0.9917 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.18, allocations: 3 kB / 0.9917 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.18, allocations: 3.641 kB / 0.9917 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002566/1.182, allocations: 0.8931 MB / 0.9926 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/1.187, allocations: 2.098 MB / 0.9946 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.187, allocations: 10.22 kB / 0.9946 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/1.188, allocations: 122.3 kB / 0.9947 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/1.188, allocations: 186 kB / 0.9949 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/1.189, allocations: 20.3 kB / 0.9949 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/1.192, allocations: 2.187 MB / 0.9971 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.192, allocations: 5.25 kB / 0.9971 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/1.196, allocations: 1.413 MB / 0.9984 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/1.196, allocations: 240.8 kB / 0.9987 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.196, allocations: 11.47 kB / 0.9987 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/1.197, allocations: 61.42 kB / 0.9987 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.197, allocations: 49.23 kB / 0.9988 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/1.197, allocations: 25.45 kB / 0.9988 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007492/1.198, allocations: 0.5559 MB / 0.9994 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.198, allocations: 0 / 0.9994 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001029/1.199, allocations: 269.1 kB / 0.9996 GB, free: 8.957 MB / 0.7325 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.0005037/1.2, allocations: 209.5 kB / 0.9998 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001923/1.202, allocations: 0.8033 MB / 1.001 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.202, allocations: 2.25 kB / 1.001 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/1.203, allocations: 461.1 kB / 1.001 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.205, allocations: 0.5447 MB / 1.002 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/1.209, allocations: 1.952 MB / 1.003 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/1.21, allocations: 1.041 MB / 1.004 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.21, allocations: 69.55 kB / 1.005 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.21, allocations: 0 / 1.005 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of Templates: time 0.0249/1.235, allocations: 19.12 MB / 1.023 GB, free: 0.8516 MB / 0.7325 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)