Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009715, allocations: 91.84 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.0008799/0.0008799, 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 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 270.5 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 20.09 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4328/0.5702, allocations: 173.3 MB / 0.8537 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008131/0.5784, allocations: 5.379 MB / 0.859 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.5793, allocations: 38.94 kB / 0.859 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.5804, allocations: 396.5 kB / 0.8594 GB, free: 6.637 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003278/0.5837, allocations: 1.367 MB / 0.8607 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.5859, allocations: 0.8436 MB / 0.8615 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003343/0.5893, allocations: 3.455 MB / 0.8649 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.5903, allocations: 0.7981 MB / 0.8657 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5917, allocations: 0.8736 MB / 0.8665 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.5929, allocations: 0.9157 MB / 0.8674 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.593, allocations: 46.94 kB / 0.8675 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.5948, allocations: 0.7054 MB / 0.8682 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.5953, allocations: 0.4977 MB / 0.8686 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.5955, allocations: 278.2 kB / 0.8689 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.5971, allocations: 1.627 MB / 0.8705 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5971, allocations: 4 kB / 0.8705 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5971, allocations: 0 / 0.8705 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.5972, allocations: 2.031 kB / 0.8705 GB, free: 15.68 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002119/0.5993, allocations: 1.388 MB / 0.8719 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.5993, allocations: 8.156 kB / 0.8719 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.6012, allocations: 331.5 kB / 0.8722 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6025, allocations: 0.8413 MB / 0.873 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.6026, allocations: 70.59 kB / 0.8731 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6027, allocations: 99.45 kB / 0.8732 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6045, allocations: 1.085 MB / 0.8742 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6045, allocations: 2.875 kB / 0.8742 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.6046, allocations: 43.95 kB / 0.8743 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.6047, allocations: 41.53 kB / 0.8743 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.6063, allocations: 0.9965 MB / 0.8753 GB, free: 12.65 MB / 0.5919 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.005933/0.6122, allocations: 4.255 MB / 0.8794 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.6131, allocations: 0.6045 MB / 0.88 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.6136, allocations: 348.7 kB / 0.8804 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.6138, allocations: 105.5 kB / 0.8805 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.6139, allocations: 43 kB / 0.8805 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.873e-06/0.6139, allocations: 0 / 0.8805 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003882/0.6178, allocations: 2.22 MB / 0.8827 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6178, allocations: 67.86 kB / 0.8827 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.6189, allocations: 0.8726 MB / 0.8836 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.6189, allocations: 37.7 kB / 0.8836 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.6193, allocations: 0.5108 MB / 0.8841 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.6195, allocations: 197.1 kB / 0.8843 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.6195, allocations: 12 kB / 0.8843 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6196, allocations: 334 kB / 0.8846 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.6201, allocations: 289.8 kB / 0.8849 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.6207, allocations: 437 kB / 0.8853 GB, free: 2.051 MB / 0.5919 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.002799/0.6236, allocations: 1.103 MB / 0.8864 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6236, allocations: 0 / 0.8864 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001541/0.6251, allocations: 0.9298 MB / 0.8873 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6251, allocations: 8 kB / 0.8873 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6252, allocations: 4 kB / 0.8873 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.6254, allocations: 98.73 kB / 0.8874 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.6261, allocations: 171.8 kB / 0.8876 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.6293, allocations: 4.286 MB / 0.8918 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.6302, allocations: 72.64 kB / 0.8918 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.6303, allocations: 35.92 kB / 0.8919 GB, free: 10.91 MB / 0.6075 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 (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.0005709/0.6309, allocations: 345.5 kB / 0.8922 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.6311, allocations: 94.88 kB / 0.8923 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.6313, allocations: 113.1 kB / 0.8924 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6313, allocations: 15.98 kB / 0.8924 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6313, allocations: 0 / 0.8924 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.6324, allocations: 0.773 MB / 0.8932 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.6355, allocations: 2.004 MB / 0.8951 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6355, allocations: 4 kB / 0.8951 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.6362, allocations: 155.8 kB / 0.8953 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.316e-05/0.6363, allocations: 40.84 kB / 0.8953 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.6364, allocations: 24.05 kB / 0.8954 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6375, allocations: 1.476 MB / 0.8968 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6376, allocations: 4 kB / 0.8968 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6393, allocations: 1.226 MB / 0.898 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.6397, allocations: 255.8 kB / 0.8982 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6398, allocations: 16 kB / 0.8983 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.6406, allocations: 80.11 kB / 0.8983 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.6407, allocations: 39.95 kB / 0.8984 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.6408, allocations: 31.98 kB / 0.8984 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007628/0.6415, allocations: 0.6121 MB / 0.899 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6415, allocations: 0 / 0.899 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009356/0.6425, allocations: 308 kB / 0.8993 GB, free: 2.949 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.0003941/0.6429, allocations: 186 kB / 0.8995 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.6444, allocations: 1.004 MB / 0.9004 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6444, allocations: 4 kB / 0.9005 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.645, allocations: 450 kB / 0.9009 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.6476, allocations: 0.6386 MB / 0.9015 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.6509, allocations: 2.511 MB / 0.904 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/0.6516, allocations: 1.17 MB / 0.9051 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008909/0.6525, allocations: 244.3 kB / 0.9053 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.6527, allocations: 79.42 kB / 0.9054 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.6527, allocations: 0 / 0.9054 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.03147/0.6842, allocations: 20.56 MB / 0.9255 GB, free: 8.328 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)