Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 178.6 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 86.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 10.62 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8221/1.042, allocations: 201.8 MB / 1.098 GB, free: 3.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01448/1.056, allocations: 5.473 MB / 1.103 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/1.059, allocations: 30.84 kB / 1.103 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/1.061, allocations: 409.6 kB / 1.104 GB, free: 3.617 MB / 0.698 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.007584/1.069, allocations: 1.415 MB / 1.105 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/1.074, allocations: 0.8739 MB / 1.106 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006917/1.081, allocations: 3.666 MB / 1.109 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/1.083, allocations: 0.8484 MB / 1.11 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/1.086, allocations: 0.9494 MB / 1.111 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/1.089, allocations: 0.9381 MB / 1.112 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/1.089, allocations: 48.84 kB / 1.112 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/1.093, allocations: 0.7077 MB / 1.113 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008135/1.094, allocations: 0.5172 MB / 1.113 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007446/1.094, allocations: 290.5 kB / 1.114 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/1.097, allocations: 1.696 MB / 1.115 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/1.097, allocations: 3.234 kB / 1.115 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.767e-06/1.097, allocations: 0 / 1.115 GB, free: 3.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.028e-05/1.097, allocations: 1.859 kB / 1.115 GB, free: 3.219 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003856/1.101, allocations: 1.405 MB / 1.117 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.101, allocations: 8.625 kB / 1.117 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/1.105, allocations: 333.9 kB / 1.117 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.107, allocations: 0.8463 MB / 1.118 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/1.107, allocations: 78.3 kB / 1.118 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/1.107, allocations: 106.1 kB / 1.118 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/1.11, allocations: 1.113 MB / 1.119 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.111, allocations: 0 / 1.119 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/1.111, allocations: 49.94 kB / 1.119 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-05/1.111, allocations: 43.09 kB / 1.119 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/1.114, allocations: 1.003 MB / 1.12 GB, free: 17.91 MB / 0.7136 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.00979/1.123, allocations: 4.293 MB / 1.124 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.125, allocations: 0.6016 MB / 1.125 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/1.126, allocations: 336.3 kB / 1.125 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/1.126, allocations: 106.8 kB / 1.125 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.126, allocations: 46.81 kB / 1.125 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 4.108e-06/1.126, allocations: 0 / 1.125 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.006633/1.133, allocations: 2.207 MB / 1.128 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.133, allocations: 58.41 kB / 1.128 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/1.134, allocations: 0.8922 MB / 1.129 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.135, allocations: 40.56 kB / 1.129 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/1.135, allocations: 0.5173 MB / 1.129 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.135, allocations: 199.8 kB / 1.129 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/1.135, allocations: 16.41 kB / 1.129 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.136, allocations: 333.3 kB / 1.13 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/1.136, allocations: 282.8 kB / 1.13 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/1.137, allocations: 449.1 kB / 1.13 GB, free: 14.05 MB / 0.7136 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.004979/1.142, allocations: 1.042 MB / 1.131 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.142, allocations: 7.953 kB / 1.131 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002895/1.145, allocations: 0.9155 MB / 1.132 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.145, allocations: 7 kB / 1.132 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.145, allocations: 6.719 kB / 1.132 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/1.146, allocations: 104.3 kB / 1.132 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.147, allocations: 173.3 kB / 1.132 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/1.153, allocations: 4.277 MB / 1.137 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.155, allocations: 78.34 kB / 1.137 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.156, allocations: 27.78 kB / 1.137 GB, free: 9.98 MB / 0.7136 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001172/1.157, allocations: 362.2 kB / 1.137 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/1.157, allocations: 100.5 kB / 1.137 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.157, allocations: 108.1 kB / 1.137 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.157, allocations: 2.875 kB / 1.137 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.158, allocations: 6.562 kB / 1.137 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/1.159, allocations: 0.7658 MB / 1.138 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/1.165, allocations: 2.013 MB / 1.14 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.165, allocations: 7.188 kB / 1.14 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.166, allocations: 155.3 kB / 1.14 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/1.166, allocations: 42.77 kB / 1.14 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.166, allocations: 14.09 kB / 1.14 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.168, allocations: 1.486 MB / 1.142 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.168, allocations: 5.438 kB / 1.142 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/1.172, allocations: 1.246 MB / 1.143 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.173, allocations: 271.7 kB / 1.143 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/1.173, allocations: 20.84 kB / 1.143 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.175, allocations: 82.89 kB / 1.143 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.175, allocations: 51.56 kB / 1.143 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.175, allocations: 34.47 kB / 1.143 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001387/1.176, allocations: 0.6153 MB / 1.144 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/1.177, allocations: 1.938 kB / 1.144 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00169/1.178, allocations: 311.7 kB / 1.144 GB, free: 6.387 MB / 0.7136 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006634/1.179, allocations: 196 kB / 1.144 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002426/1.181, allocations: 0.988 MB / 1.145 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.181, allocations: 3.344 kB / 1.145 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.182, allocations: 456.8 kB / 1.146 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/1.188, allocations: 0.6357 MB / 1.146 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/1.194, allocations: 2.626 MB / 1.149 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.195, allocations: 1.183 MB / 1.15 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/1.196, allocations: 81.45 kB / 1.15 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.196, allocations: 0 / 1.15 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of Templates: time 0.06003/1.256, allocations: 27.25 MB / 1.177 GB, free: 15.12 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)