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.001127/0.001127, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001344/0.001344, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 287.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 95.09 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1542, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4884/0.6426, allocations: 190.3 MB / 0.8675 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008763/0.6514, allocations: 5.689 MB / 0.873 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009256/0.6524, allocations: 43.75 kB / 0.8731 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.6538, allocations: 0.5669 MB / 0.8736 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.6571, allocations: 1.611 MB / 0.8752 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.6598, allocations: 1.194 MB / 0.8763 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.6627, allocations: 2.519 MB / 0.8788 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.6641, allocations: 0.9977 MB / 0.8798 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.6659, allocations: 1.023 MB / 0.8808 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.6672, allocations: 0.8187 MB / 0.8816 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.6674, allocations: 100 kB / 0.8817 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.6701, allocations: 1.528 MB / 0.8832 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.6705, allocations: 486.8 kB / 0.8836 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006676/0.6712, allocations: 0.6261 MB / 0.8842 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.6737, allocations: 2.107 MB / 0.8863 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6738, allocations: 4 kB / 0.8863 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6738, allocations: 0 / 0.8863 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6738, allocations: 0 / 0.8863 GB, free: 12.82 MB / 0.6544 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.002265/0.6761, allocations: 1.481 MB / 0.8877 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.6761, allocations: 8.031 kB / 0.8878 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.6781, allocations: 330.3 kB / 0.8881 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.6794, allocations: 0.8088 MB / 0.8889 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.6795, allocations: 62 kB / 0.8889 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6796, allocations: 87.94 kB / 0.889 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.6813, allocations: 1.071 MB / 0.8901 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.6814, allocations: 0 / 0.8901 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.6815, allocations: 39.98 kB / 0.8901 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.6815, allocations: 37.94 kB / 0.8901 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.6831, allocations: 0.8352 MB / 0.8909 GB, free: 7.938 MB / 0.6544 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.0056/0.6887, allocations: 4.26 MB / 0.8951 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.6893, allocations: 371.6 kB / 0.8955 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.6896, allocations: 214.4 kB / 0.8957 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.6898, allocations: 101.7 kB / 0.8958 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6898, allocations: 42.56 kB / 0.8958 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.6898, allocations: 0 / 0.8958 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002505/0.6923, allocations: 1.331 MB / 0.8971 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.6924, allocations: 55.41 kB / 0.8972 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6937, allocations: 1.001 MB / 0.8981 GB, free: 188 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.6937, allocations: 37.7 kB / 0.8982 GB, free: 144 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6941, allocations: 499.2 kB / 0.8986 GB, free: 15.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.6942, allocations: 145.9 kB / 0.8988 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.6944, allocations: 122.2 kB / 0.8989 GB, free: 15.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6945, allocations: 330 kB / 0.8992 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.695, allocations: 233.2 kB / 0.8994 GB, free: 14.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.6955, allocations: 427.8 kB / 0.8998 GB, free: 14.33 MB / 0.67 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.002415/0.698, allocations: 1.207 MB / 0.901 GB, free: 13.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.698, allocations: 4 kB / 0.901 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00136/0.6994, allocations: 0.7701 MB / 0.9018 GB, free: 12.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6994, allocations: 8 kB / 0.9018 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6994, allocations: 8 kB / 0.9018 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6994, allocations: 11.94 kB / 0.9018 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.7, allocations: 140.2 kB / 0.9019 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.7001, allocations: 15.92 kB / 0.902 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.7009, allocations: 63.86 kB / 0.902 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.701, allocations: 24 kB / 0.902 GB, free: 11.98 MB / 0.67 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.00042/0.7014, allocations: 314.4 kB / 0.9023 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.7015, allocations: 94.88 kB / 0.9024 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.7017, allocations: 109 kB / 0.9025 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7017, allocations: 7.938 kB / 0.9025 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7017, allocations: 0 / 0.9025 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006671/0.7024, allocations: 0.6752 MB / 0.9032 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.7047, allocations: 1.585 MB / 0.9047 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7048, allocations: 7.938 kB / 0.9048 GB, free: 8.984 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.7052, allocations: 84.39 kB / 0.9048 GB, free: 8.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.7052, allocations: 8 kB / 0.9048 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.7052, allocations: 16 kB / 0.9049 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.7052, allocations: 4 kB / 0.9049 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7052, allocations: 11.88 kB / 0.9049 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.7062, allocations: 0.8341 MB / 0.9057 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.7066, allocations: 239.8 kB / 0.9059 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7068, allocations: 15.94 kB / 0.9059 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.7074, allocations: 39.97 kB / 0.906 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.7075, allocations: 35.84 kB / 0.906 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.7076, allocations: 27.98 kB / 0.906 GB, free: 7.598 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000996/0.7086, allocations: 0.7077 MB / 0.9067 GB, free: 6.879 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7086, allocations: 0 / 0.9067 GB, free: 6.879 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008006/0.7094, allocations: 260 kB / 0.907 GB, free: 6.625 MB / 0.67 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.000463/0.7098, allocations: 209.9 kB / 0.9072 GB, free: 6.418 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.7107, allocations: 0.5073 MB / 0.9077 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7108, allocations: 0 / 0.9077 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.711, allocations: 190.9 kB / 0.9078 GB, free: 5.727 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.7134, allocations: 0.6114 MB / 0.9084 GB, free: 5.121 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.7159, allocations: 1.846 MB / 0.9102 GB, free: 3.195 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.7165, allocations: 1.099 MB / 0.9113 GB, free: 2.066 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006662/0.7172, allocations: 244.3 kB / 0.9115 GB, free: 1.824 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.7174, allocations: 71.44 kB / 0.9116 GB, free: 1.754 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.7174, allocations: 3.938 kB / 0.9116 GB, free: 1.75 MB / 0.67 GB Notification: Performance of Templates: time 0.03001/0.7474, allocations: 19.75 MB / 0.9309 GB, free: 14.34 MB / 0.7012 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)