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.001263/0.001263, allocations: 108.5 kB / 16.41 MB, free: 6.457 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.001268/0.001268, allocations: 193.2 kB / 17.34 MB, free: 5.734 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.42/1.42, allocations: 222.9 MB / 241.1 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.003383/0.003383, allocations: 285.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9995/0.9995, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 100.1 kB / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4869, allocations: 86.98 MB / 0.7671 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2356/0.7224, allocations: 191.1 MB / 0.9537 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4295/1.152, allocations: 5.741 MB / 0.9593 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/1.153, allocations: 38.5 kB / 0.9594 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/1.155, allocations: 0.6078 MB / 0.96 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004222/1.159, allocations: 1.687 MB / 0.9616 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/1.162, allocations: 1.228 MB / 0.9628 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003194/1.166, allocations: 2.566 MB / 0.9653 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/1.167, allocations: 0.7367 MB / 0.966 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/1.168, allocations: 1.091 MB / 0.9671 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/1.17, allocations: 0.8057 MB / 0.9679 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/1.17, allocations: 96.47 kB / 0.968 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/1.173, allocations: 1.55 MB / 0.9695 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003836/1.173, allocations: 421 kB / 0.9699 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/1.174, allocations: 0.5847 MB / 0.9705 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/1.176, allocations: 2.032 MB / 0.9724 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.176, allocations: 1.031 kB / 0.9724 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/1.176, allocations: 0 / 0.9724 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.176, allocations: 2.156 kB / 0.9724 GB, free: 1.633 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.002562/1.179, allocations: 1.466 MB / 0.9739 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.179, allocations: 10.81 kB / 0.9739 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/1.182, allocations: 422.6 kB / 0.9743 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/1.183, allocations: 0.8065 MB / 0.9751 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/1.183, allocations: 61.89 kB / 0.9751 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.183, allocations: 75.77 kB / 0.9752 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/1.185, allocations: 0.9793 MB / 0.9762 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.185, allocations: 6.547 kB / 0.9762 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/1.185, allocations: 33.91 kB / 0.9762 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/1.185, allocations: 29.94 kB / 0.9762 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/1.187, allocations: 0.8721 MB / 0.9771 GB, free: 16.35 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.005599/1.192, allocations: 3.486 MB / 0.9805 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.194, allocations: 0.5912 MB / 0.9811 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/1.195, allocations: 317.8 kB / 0.9814 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.195, allocations: 106.6 kB / 0.9815 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.195, allocations: 44.77 kB / 0.9815 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/1.195, allocations: 0 / 0.9815 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.007632/1.202, allocations: 2.404 MB / 0.9839 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.202, allocations: 58.19 kB / 0.9839 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/1.203, allocations: 0.7983 MB / 0.9847 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/1.203, allocations: 37.7 kB / 0.9847 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/1.204, allocations: 450.9 kB / 0.9852 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.204, allocations: 157.2 kB / 0.9853 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.204, allocations: 107.1 kB / 0.9854 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.204, allocations: 332.1 kB / 0.9857 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/1.205, allocations: 299.2 kB / 0.986 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/1.206, allocations: 413.1 kB / 0.9864 GB, free: 13.38 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.004949/1.211, allocations: 1.878 MB / 0.9882 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.211, allocations: 0.9062 kB / 0.9882 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003104/1.214, allocations: 1.034 MB / 0.9893 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.214, allocations: 5.688 kB / 0.9893 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.214, allocations: 5.344 kB / 0.9893 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/1.214, allocations: 189.2 kB / 0.9894 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/1.215, allocations: 146.3 kB / 0.9896 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/1.219, allocations: 2.235 MB / 0.9918 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.22, allocations: 51.22 kB / 0.9918 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/1.22, allocations: 26.75 kB / 0.9918 GB, free: 11.68 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.0005223/1.221, allocations: 271.3 kB / 0.9921 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.221, allocations: 96.47 kB / 0.9922 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/1.221, allocations: 95.58 kB / 0.9923 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.221, allocations: 5.219 kB / 0.9923 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.221, allocations: 0.9062 kB / 0.9923 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/1.224, allocations: 0.8959 MB / 0.9932 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/1.229, allocations: 2.094 MB / 0.9952 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.229, allocations: 8.906 kB / 0.9952 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/1.23, allocations: 129.1 kB / 0.9953 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/1.23, allocations: 189.7 kB / 0.9955 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/1.23, allocations: 16.44 kB / 0.9955 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/1.234, allocations: 2.188 MB / 0.9977 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.234, allocations: 4.688 kB / 0.9977 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/1.238, allocations: 1.425 MB / 0.9991 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.238, allocations: 239.3 kB / 0.9993 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.238, allocations: 11.72 kB / 0.9993 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/1.239, allocations: 64.41 kB / 0.9994 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/1.239, allocations: 37.58 kB / 0.9994 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/1.239, allocations: 31.09 kB / 0.9994 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000672/1.24, allocations: 0.5524 MB / 1 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.24, allocations: 4 kB / 1 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008712/1.241, allocations: 271.7 kB / 1 GB, free: 8.895 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.000509/1.242, allocations: 214.2 kB / 1 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.244, allocations: 0.7833 MB / 1.001 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.244, allocations: 0 / 1.001 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/1.244, allocations: 450 kB / 1.002 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.247, allocations: 0.5419 MB / 1.002 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/1.251, allocations: 1.936 MB / 1.004 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/1.252, allocations: 1.039 MB / 1.005 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007053/1.252, allocations: 201.5 kB / 1.005 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/1.253, allocations: 66.14 kB / 1.005 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.253, allocations: 4 kB / 1.005 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of Templates: time 0.03299/1.286, allocations: 20.89 MB / 1.026 GB, free: 148 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)