Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008804, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008524/0.0008525, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005236, allocations: 14 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2312, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6227/0.8539, allocations: 173.3 MB / 0.9565 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007854/0.8618, allocations: 5.315 MB / 0.9617 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.8629, allocations: 34.23 kB / 0.9617 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.8639, allocations: 390.9 kB / 0.9621 GB, free: 4.453 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002994/0.8669, allocations: 1.204 MB / 0.9633 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.8696, allocations: 0.8978 MB / 0.9642 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.8732, allocations: 2.946 MB / 0.967 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.8742, allocations: 0.7361 MB / 0.9677 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.8762, allocations: 0.8537 MB / 0.9686 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.8775, allocations: 0.8017 MB / 0.9694 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.8776, allocations: 42.38 kB / 0.9694 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.88, allocations: 0.9242 MB / 0.9703 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.8806, allocations: 431.9 kB / 0.9707 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.8811, allocations: 251.6 kB / 0.971 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.8831, allocations: 1.517 MB / 0.9724 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8831, allocations: 0 / 0.9724 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8831, allocations: 0 / 0.9724 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.769e-05/0.8832, allocations: 4 kB / 0.9724 GB, free: 2.875 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002793/0.886, allocations: 1.298 MB / 0.9737 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8861, allocations: 9.312 kB / 0.9737 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.8888, allocations: 498.2 kB / 0.9742 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.89, allocations: 0.7996 MB / 0.975 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.8903, allocations: 127.1 kB / 0.9751 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.8904, allocations: 90.8 kB / 0.9752 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.8923, allocations: 1.193 MB / 0.9764 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.8924, allocations: 3.938 kB / 0.9764 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.8925, allocations: 39.91 kB / 0.9764 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.8925, allocations: 29.84 kB / 0.9764 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.8945, allocations: 1.104 MB / 0.9775 GB, free: 17.26 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.005716/0.9002, allocations: 4.365 MB / 0.9818 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.9018, allocations: 0.7917 MB / 0.9825 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.9025, allocations: 426 kB / 0.9829 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.9027, allocations: 101.7 kB / 0.983 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.9027, allocations: 51.98 kB / 0.9831 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.9027, allocations: 0 / 0.9831 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.004913/0.9077, allocations: 2.278 MB / 0.9853 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.9077, allocations: 56.5 kB / 0.9854 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.9087, allocations: 0.8536 MB / 0.9862 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.9088, allocations: 37.17 kB / 0.9862 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.9091, allocations: 0.4917 MB / 0.9867 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.9093, allocations: 162.1 kB / 0.9869 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.9093, allocations: 11.41 kB / 0.9869 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9095, allocations: 329.5 kB / 0.9872 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.9103, allocations: 389 kB / 0.9876 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.9112, allocations: 0.5334 MB / 0.9881 GB, free: 12.02 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.003697/0.9149, allocations: 1.557 MB / 0.9896 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9149, allocations: 4 kB / 0.9896 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002022/0.9169, allocations: 1.029 MB / 0.9906 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.9169, allocations: 6.188 kB / 0.9906 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.917, allocations: 3.125 kB / 0.9906 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.917, allocations: 7.969 kB / 0.9906 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.9178, allocations: 208.9 kB / 0.9908 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.9179, allocations: 15.23 kB / 0.9908 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9189, allocations: 117.6 kB / 0.991 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.919, allocations: 29.36 kB / 0.991 GB, free: 11.15 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 sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005065/0.9195, allocations: 308.5 kB / 0.9913 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.9197, allocations: 95.83 kB / 0.9914 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.92, allocations: 103.4 kB / 0.9915 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.92, allocations: 6.438 kB / 0.9915 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.92, allocations: 7.984 kB / 0.9915 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/0.9217, allocations: 1.062 MB / 0.9925 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.9259, allocations: 2.203 MB / 0.9947 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.9259, allocations: 5.281 kB / 0.9947 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.9267, allocations: 188.9 kB / 0.9949 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.9267, allocations: 5.094 kB / 0.9949 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.9268, allocations: 19.17 kB / 0.9949 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.9268, allocations: 2.688 kB / 0.9949 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.9268, allocations: 9.938 kB / 0.9949 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.9295, allocations: 1.498 MB / 0.9964 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.93, allocations: 255.6 kB / 0.9966 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.9301, allocations: 14.53 kB / 0.9966 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.9311, allocations: 110.6 kB / 0.9967 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.9312, allocations: 36.05 kB / 0.9968 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.9313, allocations: 37.19 kB / 0.9968 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006901/0.932, allocations: 0.5822 MB / 0.9974 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.932, allocations: 0 / 0.9974 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009678/0.9329, allocations: 268.6 kB / 0.9976 GB, free: 8.371 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005144/0.9335, allocations: 203.2 kB / 0.9978 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.9354, allocations: 0.8495 MB / 0.9986 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9354, allocations: 2.094 kB / 0.9986 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008618/0.9363, allocations: 418.3 kB / 0.999 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.9387, allocations: 0.5706 MB / 0.9996 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.9433, allocations: 2.541 MB / 1.002 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.944, allocations: 1.104 MB / 1.003 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001055/0.945, allocations: 255.6 kB / 1.003 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.9453, allocations: 78.41 kB / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.9453, allocations: 0 / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.02867/0.974, allocations: 19.52 MB / 1.023 GB, free: 7.758 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: