Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001894/0.001895, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 298.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9857/0.9857, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 93.53 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1664, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5191/0.6856, allocations: 184.7 MB / 0.8599 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.7002, allocations: 12.9 MB / 0.8725 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.7018, allocations: 26.62 kB / 0.8726 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.7031, allocations: 349.8 kB / 0.8729 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.7057, allocations: 0.8675 MB / 0.8738 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.7074, allocations: 0.6289 MB / 0.8744 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.7092, allocations: 1.499 MB / 0.8758 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.71, allocations: 0.6238 MB / 0.8764 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.7136, allocations: 1.688 MB / 0.8781 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7148, allocations: 0.5332 MB / 0.8786 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.7149, allocations: 56.56 kB / 0.8787 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.7164, allocations: 0.9084 MB / 0.8796 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.7166, allocations: 286.6 kB / 0.8798 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.717, allocations: 388.4 kB / 0.8802 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.7184, allocations: 1.205 MB / 0.8814 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7184, allocations: 0 / 0.8814 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7185, allocations: 0 / 0.8814 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7185, allocations: 0 / 0.8814 GB, free: 5.031 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001422/0.7199, allocations: 1.056 MB / 0.8824 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7199, allocations: 7.156 kB / 0.8824 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.7208, allocations: 198.3 kB / 0.8826 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.7215, allocations: 0.5161 MB / 0.8831 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.7219, allocations: 94.72 kB / 0.8832 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.7219, allocations: 58.09 kB / 0.8832 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.7231, allocations: 0.7693 MB / 0.884 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.7231, allocations: 6.719 kB / 0.884 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.7231, allocations: 30.81 kB / 0.884 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.7232, allocations: 25.53 kB / 0.8841 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.7241, allocations: 470.9 kB / 0.8845 GB, free: 2.73 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.003555/0.7277, allocations: 4.167 MB / 0.8886 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.7278, allocations: 112.9 kB / 0.8887 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.7279, allocations: 73.84 kB / 0.8888 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.7281, allocations: 90.53 kB / 0.8888 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.7282, allocations: 41.34 kB / 0.8889 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.7282, allocations: 0 / 0.8889 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005763/0.7288, allocations: 233.5 kB / 0.8891 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.7289, allocations: 139.6 kB / 0.8892 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.7298, allocations: 0.8346 MB / 0.8901 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.7299, allocations: 25.7 kB / 0.8901 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.7301, allocations: 406.3 kB / 0.8905 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.7302, allocations: 32.23 kB / 0.8905 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.7303, allocations: 92.59 kB / 0.8906 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7304, allocations: 324.7 kB / 0.8909 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.7307, allocations: 108.3 kB / 0.891 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.7311, allocations: 345.6 kB / 0.8913 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.7316, allocations: 407.7 kB / 0.8917 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7316, allocations: 3.938 kB / 0.8917 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008505/0.7325, allocations: 493.5 kB / 0.8922 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7325, allocations: 7.75 kB / 0.8922 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7325, allocations: 11.98 kB / 0.8922 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7326, allocations: 9.344 kB / 0.8922 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.7329, allocations: 96.2 kB / 0.8923 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.7329, allocations: 14.16 kB / 0.8923 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.7335, allocations: 120.4 kB / 0.8924 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.7336, allocations: 31.8 kB / 0.8925 GB, free: 11.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002228/0.7338, allocations: 224.9 kB / 0.8927 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.7339, allocations: 74.22 kB / 0.8928 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.734, allocations: 71.72 kB / 0.8928 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7341, allocations: 2.719 kB / 0.8928 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7341, allocations: 2.531 kB / 0.8928 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7341, allocations: 0 / 0.8928 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.7353, allocations: 1.127 MB / 0.8939 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7353, allocations: 6.141 kB / 0.8939 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7354, allocations: 22.69 kB / 0.894 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7354, allocations: 3.125 kB / 0.894 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7354, allocations: 7 kB / 0.894 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.7354, allocations: 8.938 kB / 0.894 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7354, allocations: 1.844 kB / 0.894 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.7357, allocations: 268.2 kB / 0.8942 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.7359, allocations: 168.4 kB / 0.8944 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.736, allocations: 2.656 kB / 0.8944 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.7363, allocations: 26.91 kB / 0.8944 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.7363, allocations: 12.56 kB / 0.8944 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.7364, allocations: 6.156 kB / 0.8944 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007148/0.7371, allocations: 0.5858 MB / 0.895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7371, allocations: 0 / 0.895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005151/0.7376, allocations: 154.6 kB / 0.8952 GB, free: 9.785 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004235/0.738, allocations: 203.9 kB / 0.8954 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.7385, allocations: 235.9 kB / 0.8956 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7385, allocations: 0 / 0.8956 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.7386, allocations: 45.59 kB / 0.8956 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.7401, allocations: 384.8 kB / 0.896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.7417, allocations: 1.265 MB / 0.8972 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.7422, allocations: 0.937 MB / 0.8981 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004728/0.7426, allocations: 134 kB / 0.8983 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.7427, allocations: 51.44 kB / 0.8983 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.7427, allocations: 0 / 0.8983 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of Templates: time 0.01881/0.7616, allocations: 11.64 MB / 0.9097 GB, free: 11.56 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)