Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 104.6 kB / 16.41 MB, free: 6.449 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.001022/0.001022, allocations: 189.4 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 287.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9856/0.9856, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5038, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2077/0.7115, allocations: 190.3 MB / 0.9529 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4239/1.135, allocations: 5.681 MB / 0.9585 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.137, allocations: 41.95 kB / 0.9585 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/1.139, allocations: 0.5681 MB / 0.9591 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/1.143, allocations: 1.611 MB / 0.9606 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003624/1.147, allocations: 1.204 MB / 0.9618 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00443/1.152, allocations: 2.51 MB / 0.9643 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.153, allocations: 0.99 MB / 0.9652 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/1.156, allocations: 1.043 MB / 0.9662 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/1.159, allocations: 0.8083 MB / 0.967 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003094/1.159, allocations: 102 kB / 0.9671 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/1.164, allocations: 1.527 MB / 0.9686 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008858/1.165, allocations: 497.1 kB / 0.9691 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/1.166, allocations: 0.6245 MB / 0.9697 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004806/1.171, allocations: 2.113 MB / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.171, allocations: 1.094 kB / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/1.171, allocations: 0.9375 kB / 0.9718 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.126e-05/1.171, allocations: 2.938 kB / 0.9718 GB, free: 1.543 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003271/1.175, allocations: 1.472 MB / 0.9732 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.175, allocations: 12.22 kB / 0.9732 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/1.178, allocations: 335.6 kB / 0.9735 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/1.179, allocations: 0.8078 MB / 0.9743 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/1.18, allocations: 68.97 kB / 0.9744 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.18, allocations: 80.59 kB / 0.9745 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/1.182, allocations: 1.07 MB / 0.9755 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/1.182, allocations: 8.125 kB / 0.9755 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/1.182, allocations: 42.78 kB / 0.9756 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/1.182, allocations: 33.97 kB / 0.9756 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/1.184, allocations: 0.8289 MB / 0.9764 GB, free: 16.23 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.007233/1.192, allocations: 4.265 MB / 0.9806 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/1.193, allocations: 362.3 kB / 0.9809 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/1.193, allocations: 214 kB / 0.9811 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/1.193, allocations: 106.5 kB / 0.9812 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.193, allocations: 40.56 kB / 0.9813 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/1.193, allocations: 0 / 0.9813 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002743/1.196, allocations: 1.335 MB / 0.9826 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.196, allocations: 57.19 kB / 0.9826 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.198, allocations: 1.001 MB / 0.9836 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/1.198, allocations: 35.48 kB / 0.9836 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/1.198, allocations: 0.4885 MB / 0.9841 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.198, allocations: 141.8 kB / 0.9842 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/1.198, allocations: 123.2 kB / 0.9844 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.199, allocations: 331.1 kB / 0.9847 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/1.199, allocations: 236.9 kB / 0.9849 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/1.2, allocations: 423.2 kB / 0.9853 GB, free: 12.32 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.002468/1.202, allocations: 1.216 MB / 0.9865 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.202, allocations: 2.125 kB / 0.9865 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001522/1.204, allocations: 0.7694 MB / 0.9873 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.204, allocations: 6.938 kB / 0.9873 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.204, allocations: 13.38 kB / 0.9873 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/1.204, allocations: 8.281 kB / 0.9873 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/1.205, allocations: 145.8 kB / 0.9874 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.205, allocations: 9.078 kB / 0.9874 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/1.206, allocations: 57.98 kB / 0.9875 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/1.206, allocations: 23.84 kB / 0.9875 GB, free: 11.92 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005188/1.206, allocations: 321 kB / 0.9878 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/1.206, allocations: 99 kB / 0.9879 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/1.207, allocations: 108.5 kB / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.207, allocations: 5.594 kB / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.207, allocations: 1.094 kB / 0.988 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006724/1.207, allocations: 0.678 MB / 0.9887 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/1.21, allocations: 1.574 MB / 0.9902 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.21, allocations: 8.797 kB / 0.9902 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/1.21, allocations: 85.39 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.21, allocations: 4.812 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.21, allocations: 15.58 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.21, allocations: 16 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.21, allocations: 6.75 kB / 0.9903 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009971/1.211, allocations: 0.8281 MB / 0.9912 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/1.212, allocations: 236 kB / 0.9914 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.212, allocations: 18.25 kB / 0.9914 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/1.212, allocations: 39.81 kB / 0.9914 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/1.212, allocations: 37.33 kB / 0.9915 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/1.212, allocations: 29 kB / 0.9915 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009655/1.213, allocations: 0.7043 MB / 0.9922 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.213, allocations: 2.094 kB / 0.9922 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000853/1.214, allocations: 255.8 kB / 0.9924 GB, free: 10.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/1.215, allocations: 209.8 kB / 0.9926 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008821/1.216, allocations: 0.4983 MB / 0.9931 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.216, allocations: 0 / 0.9931 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/1.216, allocations: 191.6 kB / 0.9933 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.219, allocations: 0.6174 MB / 0.9939 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/1.221, allocations: 1.911 MB / 0.9958 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/1.222, allocations: 1.1 MB / 0.9968 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.222, allocations: 79.27 kB / 0.9969 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.222, allocations: 0 / 0.9969 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of Templates: time 0.02432/1.247, allocations: 16.47 MB / 1.013 GB, free: 5.785 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)