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.00101/0.00101, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002001/0.002001, allocations: 193 kB / 16.13 MB, free: 6.715 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 270.9 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.983/0.983, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 97.34 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.173, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6509/0.8239, allocations: 188.1 MB / 0.8631 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009942/0.8339, allocations: 5.738 MB / 0.8687 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.8367, allocations: 34.53 kB / 0.8687 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.8386, allocations: 0.5018 MB / 0.8692 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.8437, allocations: 1.518 MB / 0.8707 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.8471, allocations: 1.081 MB / 0.8718 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003928/0.851, allocations: 3.49 MB / 0.8752 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.8522, allocations: 0.8567 MB / 0.876 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.854, allocations: 0.889 MB / 0.8769 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.8559, allocations: 0.8559 MB / 0.8777 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.856, allocations: 53.06 kB / 0.8778 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.8593, allocations: 1.709 MB / 0.8794 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.8598, allocations: 457.2 kB / 0.8799 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.8607, allocations: 0.5655 MB / 0.8804 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.8637, allocations: 2.137 MB / 0.8825 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8637, allocations: 0 / 0.8825 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8638, allocations: 0 / 0.8825 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.8638, allocations: 0 / 0.8825 GB, free: 5.074 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002414/0.8662, allocations: 1.478 MB / 0.884 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8662, allocations: 9.812 kB / 0.884 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.8683, allocations: 335.5 kB / 0.8843 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.8696, allocations: 0.7662 MB / 0.885 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.87, allocations: 126.3 kB / 0.8852 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8701, allocations: 85.62 kB / 0.8852 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.8721, allocations: 1.067 MB / 0.8863 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.8722, allocations: 2.188 kB / 0.8863 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/0.8723, allocations: 38.09 kB / 0.8863 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.8723, allocations: 35.55 kB / 0.8863 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.8739, allocations: 0.8405 MB / 0.8872 GB, free: 2.035 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.006309/0.8802, allocations: 4.055 MB / 0.8911 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.8808, allocations: 369.1 kB / 0.8915 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.8811, allocations: 211.2 kB / 0.8917 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.8813, allocations: 97.69 kB / 0.8918 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.8813, allocations: 46.5 kB / 0.8918 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.235e-06/0.8814, allocations: 0 / 0.8918 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002654/0.884, allocations: 1.33 MB / 0.8931 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.8841, allocations: 59.34 kB / 0.8932 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.8854, allocations: 1.007 MB / 0.8942 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.8855, allocations: 37.7 kB / 0.8942 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.8859, allocations: 491.4 kB / 0.8947 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.886, allocations: 138 kB / 0.8948 GB, free: 11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.8862, allocations: 122.1 kB / 0.8949 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8864, allocations: 330 kB / 0.8952 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.8869, allocations: 229.2 kB / 0.8954 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.8874, allocations: 405.3 kB / 0.8958 GB, free: 9.855 MB / 0.6075 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.002364/0.8898, allocations: 1.184 MB / 0.897 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8898, allocations: 0 / 0.897 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001391/0.8912, allocations: 0.7576 MB / 0.8977 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8913, allocations: 11.94 kB / 0.8977 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8913, allocations: 4 kB / 0.8977 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8913, allocations: 8 kB / 0.8978 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.8919, allocations: 135.8 kB / 0.8979 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.892, allocations: 11.98 kB / 0.8979 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.893, allocations: 91.66 kB / 0.898 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.8931, allocations: 35.98 kB / 0.898 GB, free: 7.527 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004956/0.8936, allocations: 306.3 kB / 0.8983 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.8938, allocations: 102.8 kB / 0.8984 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.894, allocations: 105 kB / 0.8985 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.894, allocations: 4 kB / 0.8985 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.894, allocations: 0 / 0.8985 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009089/0.8949, allocations: 0.6713 MB / 0.8992 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.8975, allocations: 1.591 MB / 0.9007 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.8975, allocations: 4 kB / 0.9007 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.8979, allocations: 83.91 kB / 0.9008 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.898, allocations: 4 kB / 0.9008 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.898, allocations: 19.92 kB / 0.9008 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.8981, allocations: 15.92 kB / 0.9008 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8981, allocations: 4 kB / 0.9008 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8994, allocations: 0.8221 MB / 0.9016 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.8999, allocations: 239.9 kB / 0.9019 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.9001, allocations: 19.98 kB / 0.9019 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.9008, allocations: 65.56 kB / 0.902 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.9009, allocations: 35.84 kB / 0.902 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.9009, allocations: 28.08 kB / 0.902 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001222/0.9022, allocations: 0.7073 MB / 0.9027 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9022, allocations: 0 / 0.9027 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001006/0.9032, allocations: 252 kB / 0.9029 GB, free: 2.176 MB / 0.6075 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.0005242/0.9037, allocations: 208.3 kB / 0.9031 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009485/0.9047, allocations: 488.3 kB / 0.9036 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9047, allocations: 4.125 kB / 0.9036 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.905, allocations: 191.7 kB / 0.9038 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.9078, allocations: 0.5868 MB / 0.9044 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.9111, allocations: 2.182 MB / 0.9065 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.9117, allocations: 1.099 MB / 0.9076 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001049/0.9128, allocations: 240.4 kB / 0.9078 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.9131, allocations: 75.44 kB / 0.9079 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.9131, allocations: 3.938 kB / 0.9079 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.0353/0.9484, allocations: 18.96 MB / 0.9264 GB, free: 10.36 MB / 0.6387 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)