Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001066/0.001065, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001281/0.001281, allocations: 168.7 kB / 15.95 MB, free: 204 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.67/1.67, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 252 MB / 0.5102 GB, free: 4.762 MB / 414.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.0005436/0.0005441, allocations: 20 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5328, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7761/1.309, allocations: 201.8 MB / 0.9252 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01016/1.319, allocations: 5.468 MB / 0.9305 GB, free: 18.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/1.321, allocations: 35.41 kB / 0.9306 GB, free: 18.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/1.322, allocations: 400 kB / 0.931 GB, free: 18.67 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.005167/1.328, allocations: 1.297 MB / 0.9322 GB, free: 18.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/1.332, allocations: 0.9059 MB / 0.9331 GB, free: 18.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005148/1.337, allocations: 3.155 MB / 0.9362 GB, free: 18.56 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.338, allocations: 0.7705 MB / 0.9369 GB, free: 18.45 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/1.341, allocations: 0.8657 MB / 0.9378 GB, free: 18.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/1.343, allocations: 0.8514 MB / 0.9386 GB, free: 18.45 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/1.343, allocations: 41.84 kB / 0.9387 GB, free: 18.45 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.346, allocations: 0.9227 MB / 0.9396 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/1.347, allocations: 456.8 kB / 0.94 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004781/1.347, allocations: 258.9 kB / 0.9402 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/1.35, allocations: 1.57 MB / 0.9418 GB, free: 18.28 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.35, allocations: 6.266 kB / 0.9418 GB, free: 18.28 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/1.35, allocations: 0 / 0.9418 GB, free: 18.28 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.648e-05/1.35, allocations: 0 / 0.9418 GB, free: 18.28 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002376/1.352, allocations: 1.314 MB / 0.9431 GB, free: 17.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.352, allocations: 9.25 kB / 0.9431 GB, free: 17.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/1.355, allocations: 498.3 kB / 0.9435 GB, free: 17.42 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.356, allocations: 0.7926 MB / 0.9443 GB, free: 17.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/1.357, allocations: 139.6 kB / 0.9445 GB, free: 17.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.357, allocations: 90.09 kB / 0.9445 GB, free: 17.11 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.359, allocations: 1.219 MB / 0.9457 GB, free: 17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.359, allocations: 0 / 0.9457 GB, free: 17 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/1.359, allocations: 41.92 kB / 0.9458 GB, free: 17 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/1.359, allocations: 36.44 kB / 0.9458 GB, free: 16.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/1.361, allocations: 1.107 MB / 0.9469 GB, free: 16.96 MB / 0.7169 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.00625/1.368, allocations: 4.383 MB / 0.9512 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/1.369, allocations: 0.7945 MB / 0.9519 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/1.37, allocations: 415.8 kB / 0.9523 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.37, allocations: 107 kB / 0.9524 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.37, allocations: 45.06 kB / 0.9525 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/1.37, allocations: 0 / 0.9525 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.005301/1.376, allocations: 2.276 MB / 0.9547 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/1.376, allocations: 57.59 kB / 0.9548 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.377, allocations: 0.8656 MB / 0.9556 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.201e-05/1.377, allocations: 40.2 kB / 0.9556 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.377, allocations: 0.491 MB / 0.9561 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/1.377, allocations: 157.9 kB / 0.9563 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/1.377, allocations: 13.56 kB / 0.9563 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/1.377, allocations: 336.7 kB / 0.9566 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/1.378, allocations: 381.8 kB / 0.957 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/1.379, allocations: 0.5352 MB / 0.9575 GB, free: 13.38 MB / 0.7169 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.003466/1.382, allocations: 1.515 MB / 0.959 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.382, allocations: 0 / 0.959 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002003/1.384, allocations: 1.021 MB / 0.96 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.384, allocations: 14.59 kB / 0.96 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.384, allocations: 5.297 kB / 0.96 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.384, allocations: 8.312 kB / 0.96 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/1.385, allocations: 214.1 kB / 0.9602 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.385, allocations: 8.984 kB / 0.9602 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.386, allocations: 116.5 kB / 0.9603 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/1.387, allocations: 24.47 kB / 0.9603 GB, free: 13.06 MB / 0.7169 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: 19 * 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.0005689/1.387, allocations: 324.3 kB / 0.9607 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.387, allocations: 103.5 kB / 0.9608 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/1.387, allocations: 107 kB / 0.9609 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.387, allocations: 3.156 kB / 0.9609 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/1.388, allocations: 3.469 kB / 0.9609 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/1.389, allocations: 1.06 MB / 0.9619 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/1.393, allocations: 2.212 MB / 0.9641 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.393, allocations: 5.25 kB / 0.9641 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/1.394, allocations: 185 kB / 0.9642 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/1.394, allocations: 9.766 kB / 0.9643 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.394, allocations: 19.3 kB / 0.9643 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.394, allocations: 10.81 kB / 0.9643 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.394, allocations: 9.312 kB / 0.9643 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/1.397, allocations: 1.497 MB / 0.9658 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/1.397, allocations: 263.7 kB / 0.966 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.397, allocations: 21.06 kB / 0.966 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/1.398, allocations: 115.1 kB / 0.9661 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/1.398, allocations: 45.97 kB / 0.9662 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/1.399, allocations: 31.19 kB / 0.9662 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007729/1.399, allocations: 0.6002 MB / 0.9668 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.399, allocations: 1.75 kB / 0.9668 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00095/1.4, allocations: 264.5 kB / 0.967 GB, free: 11.34 MB / 0.7169 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.0003966/1.401, allocations: 210.3 kB / 0.9672 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.402, allocations: 0.8424 MB / 0.9681 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.403, allocations: 0 / 0.9681 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/1.403, allocations: 412.7 kB / 0.9685 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.406, allocations: 0.5601 MB / 0.969 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/1.41, allocations: 2.591 MB / 0.9715 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.41, allocations: 1.114 MB / 0.9726 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001049/1.411, allocations: 270.1 kB / 0.9729 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.412, allocations: 78.58 kB / 0.973 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/1.412, allocations: 0 / 0.973 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.02839/1.44, allocations: 19.87 MB / 0.9924 GB, free: 13.7 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: