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.001171/0.001171, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.001441/0.001441, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 289.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 95.86 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4416, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1966/0.6383, allocations: 190.6 MB / 0.9532 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4694/1.108, allocations: 5.725 MB / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/1.109, allocations: 44.75 kB / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/1.111, allocations: 0.5744 MB / 0.9594 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004519/1.116, allocations: 1.63 MB / 0.961 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/1.119, allocations: 1.211 MB / 0.9622 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004144/1.123, allocations: 2.565 MB / 0.9647 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/1.125, allocations: 0.8759 MB / 0.9655 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/1.127, allocations: 1.065 MB / 0.9666 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/1.129, allocations: 0.8068 MB / 0.9674 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/1.13, allocations: 97.72 kB / 0.9674 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/1.133, allocations: 1.539 MB / 0.9689 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004662/1.134, allocations: 406 kB / 0.9693 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/1.134, allocations: 0.5891 MB / 0.9699 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/1.137, allocations: 2.022 MB / 0.9719 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.137, allocations: 0 / 0.9719 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/1.137, allocations: 0.9688 kB / 0.9719 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.366e-05/1.137, allocations: 0 / 0.9719 GB, free: 1.617 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.002324/1.139, allocations: 1.436 MB / 0.9733 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.14, allocations: 10.59 kB / 0.9733 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/1.143, allocations: 414.3 kB / 0.9737 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/1.145, allocations: 0.8021 MB / 0.9745 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/1.145, allocations: 62.97 kB / 0.9745 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.145, allocations: 69 kB / 0.9746 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/1.148, allocations: 0.9922 MB / 0.9756 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.148, allocations: 0.6875 kB / 0.9756 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.148, allocations: 32.78 kB / 0.9756 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/1.148, allocations: 32.11 kB / 0.9756 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.15, allocations: 0.8718 MB / 0.9765 GB, free: 16.38 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.007669/1.158, allocations: 3.475 MB / 0.9799 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.16, allocations: 0.6098 MB / 0.9805 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000981/1.161, allocations: 333 kB / 0.9808 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/1.161, allocations: 100.7 kB / 0.9809 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.161, allocations: 40.72 kB / 0.9809 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 3.778e-06/1.162, allocations: 1.203 kB / 0.9809 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.01028/1.172, allocations: 2.401 MB / 0.9833 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.172, allocations: 61.3 kB / 0.9833 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/1.174, allocations: 0.794 MB / 0.9841 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/1.174, allocations: 37.05 kB / 0.9841 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/1.174, allocations: 441.3 kB / 0.9846 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.174, allocations: 152.5 kB / 0.9847 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/1.175, allocations: 100.2 kB / 0.9848 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.175, allocations: 324.8 kB / 0.9851 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/1.176, allocations: 304.3 kB / 0.9854 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.177, allocations: 412.2 kB / 0.9858 GB, free: 13.44 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.006827/1.184, allocations: 1.873 MB / 0.9876 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.184, allocations: 7.469 kB / 0.9876 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004535/1.188, allocations: 1.035 MB / 0.9886 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.188, allocations: 6.375 kB / 0.9886 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.188, allocations: 5.344 kB / 0.9887 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/1.189, allocations: 188.8 kB / 0.9888 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/1.19, allocations: 141.9 kB / 0.989 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/1.196, allocations: 2.234 MB / 0.9912 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.198, allocations: 51.92 kB / 0.9912 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/1.198, allocations: 24.53 kB / 0.9912 GB, free: 11.76 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.0009276/1.199, allocations: 274.8 kB / 0.9915 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/1.199, allocations: 92.72 kB / 0.9916 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/1.2, allocations: 100.7 kB / 0.9917 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.2, allocations: 6.594 kB / 0.9917 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.2, allocations: 2.766 kB / 0.9917 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003274/1.203, allocations: 0.887 MB / 0.9925 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/1.21, allocations: 2.102 MB / 0.9946 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.21, allocations: 8.281 kB / 0.9946 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/1.21, allocations: 119.8 kB / 0.9947 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/1.211, allocations: 189.6 kB / 0.9949 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/1.211, allocations: 11.62 kB / 0.9949 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/1.215, allocations: 2.192 MB / 0.9971 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.215, allocations: 6.781 kB / 0.9971 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/1.218, allocations: 1.416 MB / 0.9984 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/1.219, allocations: 236.2 kB / 0.9987 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.219, allocations: 13.5 kB / 0.9987 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/1.22, allocations: 65.61 kB / 0.9987 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.22, allocations: 39.11 kB / 0.9988 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/1.22, allocations: 34.53 kB / 0.9988 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000754/1.221, allocations: 0.5536 MB / 0.9994 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.221, allocations: 1.094 kB / 0.9994 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001004/1.222, allocations: 271.3 kB / 0.9996 GB, free: 8.969 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.0005329/1.223, allocations: 209.4 kB / 0.9998 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.225, allocations: 0.8058 MB / 1.001 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.225, allocations: 0 / 1.001 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000924/1.226, allocations: 464.2 kB / 1.001 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.228, allocations: 0.5381 MB / 1.002 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/1.233, allocations: 1.959 MB / 1.003 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/1.234, allocations: 1.037 MB / 1.004 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.234, allocations: 72.48 kB / 1.005 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/1.234, allocations: 0 / 1.005 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of Templates: time 0.02778/1.262, allocations: 18.99 MB / 1.023 GB, free: 0.9336 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)