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.001823/0.001823, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.002033/0.002033, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.464/1.464, 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.002527/0.002527, allocations: 290.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 91.86 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4707, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2386/0.7093, allocations: 191 MB / 0.9536 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4507/1.16, allocations: 5.707 MB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/1.161, allocations: 42.31 kB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.163, allocations: 0.6005 MB / 0.9598 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005577/1.169, allocations: 1.903 MB / 0.9617 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/1.172, allocations: 1.193 MB / 0.9628 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005162/1.178, allocations: 2.951 MB / 0.9657 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/1.179, allocations: 0.9351 MB / 0.9666 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/1.182, allocations: 1.098 MB / 0.9677 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/1.184, allocations: 0.9739 MB / 0.9686 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/1.184, allocations: 122.4 kB / 0.9688 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/1.188, allocations: 1.455 MB / 0.9702 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007124/1.188, allocations: 0.5813 MB / 0.9707 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.189, allocations: 0.728 MB / 0.9715 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/1.193, allocations: 2.341 MB / 0.9737 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.193, allocations: 1.062 kB / 0.9737 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/1.193, allocations: 1.203 kB / 0.9737 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.719e-05/1.193, allocations: 0 / 0.9737 GB, free: 1.598 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002668/1.196, allocations: 1.659 MB / 0.9754 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.196, allocations: 11.44 kB / 0.9754 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.198, allocations: 333.4 kB / 0.9757 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.199, allocations: 0.9246 MB / 0.9766 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/1.199, allocations: 79.52 kB / 0.9767 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.199, allocations: 99.52 kB / 0.9768 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/1.201, allocations: 1.078 MB / 0.9778 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.201, allocations: 0.9062 kB / 0.9778 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/1.201, allocations: 42.77 kB / 0.9779 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/1.201, allocations: 41.5 kB / 0.9779 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/1.202, allocations: 0.9897 MB / 0.9789 GB, free: 16.27 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.005836/1.208, allocations: 4.239 MB / 0.983 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/1.209, allocations: 0.5652 MB / 0.9836 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/1.209, allocations: 324.6 kB / 0.9839 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.21, allocations: 105.5 kB / 0.984 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.21, allocations: 42.22 kB / 0.984 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/1.21, allocations: 0.625 kB / 0.984 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004012/1.214, allocations: 2.212 MB / 0.9862 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/1.214, allocations: 63.41 kB / 0.9862 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/1.215, allocations: 0.8854 MB / 0.9871 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/1.215, allocations: 40.8 kB / 0.9871 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/1.215, allocations: 0.518 MB / 0.9876 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.215, allocations: 212.5 kB / 0.9878 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.216, allocations: 136.4 kB / 0.988 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.216, allocations: 334.6 kB / 0.9883 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/1.216, allocations: 284.7 kB / 0.9886 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.217, allocations: 436.2 kB / 0.989 GB, free: 12.5 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.003626/1.22, allocations: 1.742 MB / 0.9907 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.22, allocations: 3.375 kB / 0.9907 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00147/1.222, allocations: 0.9212 MB / 0.9916 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.222, allocations: 12.16 kB / 0.9916 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.222, allocations: 7.531 kB / 0.9916 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/1.222, allocations: 99.47 kB / 0.9917 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/1.223, allocations: 163 kB / 0.9919 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/1.227, allocations: 4.634 MB / 0.9964 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.228, allocations: 35.09 kB / 0.9964 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/1.228, allocations: 24.19 kB / 0.9964 GB, free: 8.066 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: 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007023/1.229, allocations: 350.5 kB / 0.9968 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.229, allocations: 103.4 kB / 0.9969 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/1.229, allocations: 106.5 kB / 0.997 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.229, allocations: 8.75 kB / 0.997 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.229, allocations: 0 / 0.997 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.23, allocations: 0.7669 MB / 0.9977 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.233, allocations: 1.991 MB / 0.9997 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.233, allocations: 3.406 kB / 0.9997 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/1.234, allocations: 147.4 kB / 0.9998 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-05/1.234, allocations: 42.83 kB / 0.9999 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/1.234, allocations: 19.66 kB / 0.9999 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.236, allocations: 1.61 MB / 1.001 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.236, allocations: 1.906 kB / 1.001 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/1.237, allocations: 1.207 MB / 1.003 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/1.238, allocations: 266.4 kB / 1.003 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/1.238, allocations: 18.5 kB / 1.003 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/1.239, allocations: 33.64 kB / 1.003 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.239, allocations: 50.7 kB / 1.003 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/1.239, allocations: 32.42 kB / 1.003 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007503/1.24, allocations: 0.6157 MB / 1.004 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.24, allocations: 0 / 1.004 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00101/1.241, allocations: 301.2 kB / 1.004 GB, free: 5.25 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.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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004557/1.242, allocations: 198.5 kB / 1.004 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001571/1.243, allocations: 0.9848 MB / 1.005 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.243, allocations: 3.094 kB / 1.005 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/1.244, allocations: 434.3 kB / 1.005 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.247, allocations: 0.6436 MB / 1.006 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.251, allocations: 2.132 MB / 1.008 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.252, allocations: 1.169 MB / 1.009 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001155/1.253, allocations: 255.1 kB / 1.01 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/1.253, allocations: 76.77 kB / 1.01 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.253, allocations: 0 / 1.01 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of Templates: time 0.04186/1.295, allocations: 22.59 MB / 1.032 GB, free: 11.36 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)