Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") 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: 102.2 kB / 16.35 MB, free: 5.887 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.0009441/0.0009441, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 281.9 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.913/0.913, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 91.52 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4218/0.5732, allocations: 187.3 MB / 0.8645 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5865, allocations: 13.06 MB / 0.8772 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.5874, allocations: 31.81 kB / 0.8772 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5885, allocations: 429.2 kB / 0.8777 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.5908, allocations: 1.155 MB / 0.8788 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.5922, allocations: 0.7153 MB / 0.8795 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.5942, allocations: 2.012 MB / 0.8814 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.5952, allocations: 0.8418 MB / 0.8823 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.5989, allocations: 1.813 MB / 0.884 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.6, allocations: 0.6604 MB / 0.8847 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.6001, allocations: 83.94 kB / 0.8848 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.6015, allocations: 0.8731 MB / 0.8856 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.6019, allocations: 383 kB / 0.886 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.6023, allocations: 0.5015 MB / 0.8865 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6038, allocations: 1.499 MB / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6038, allocations: 0 / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6038, allocations: 4 kB / 0.8879 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.6038, allocations: 0 / 0.8879 GB, free: 11.07 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001539/0.6054, allocations: 1.239 MB / 0.8892 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.6054, allocations: 8.031 kB / 0.8892 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.6065, allocations: 221.5 kB / 0.8894 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.6075, allocations: 0.6754 MB / 0.89 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.6076, allocations: 58 kB / 0.8901 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.6077, allocations: 79.98 kB / 0.8902 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6088, allocations: 0.9337 MB / 0.8911 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6089, allocations: 7.984 kB / 0.8911 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.6089, allocations: 36 kB / 0.8911 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.609, allocations: 33.23 kB / 0.8911 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.6099, allocations: 0.6177 MB / 0.8918 GB, free: 6.996 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.003648/0.6135, allocations: 4.575 MB / 0.8962 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.6142, allocations: 0.5488 MB / 0.8968 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.6146, allocations: 248.2 kB / 0.897 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6147, allocations: 101.1 kB / 0.8971 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6148, allocations: 42.5 kB / 0.8971 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.6148, allocations: 4 kB / 0.8971 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002329/0.6171, allocations: 1.586 MB / 0.8987 GB, free: 15.46 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.6172, allocations: 110.8 kB / 0.8988 GB, free: 15.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.6179, allocations: 0.7118 MB / 0.8995 GB, free: 14.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.6179, allocations: 37.7 kB / 0.8995 GB, free: 14.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6182, allocations: 415.8 kB / 0.8999 GB, free: 14.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6183, allocations: 161.7 kB / 0.9001 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.6185, allocations: 122.2 kB / 0.9002 GB, free: 13.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6186, allocations: 322 kB / 0.9005 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.6188, allocations: 189.2 kB / 0.9007 GB, free: 13.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.6192, allocations: 421 kB / 0.9011 GB, free: 12.85 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.6212, allocations: 1.179 MB / 0.9022 GB, free: 11.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6213, allocations: 4 kB / 0.9022 GB, free: 11.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008793/0.6221, allocations: 0.6716 MB / 0.9029 GB, free: 10.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6222, allocations: 11.94 kB / 0.9029 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6222, allocations: 4 kB / 0.9029 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6222, allocations: 12 kB / 0.9029 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.6226, allocations: 120.5 kB / 0.903 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.6227, allocations: 27.86 kB / 0.9031 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.6231, allocations: 27.94 kB / 0.9031 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.6232, allocations: 27.98 kB / 0.9031 GB, free: 10.66 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0002888/0.6235, allocations: 270.7 kB / 0.9034 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6236, allocations: 86.91 kB / 0.9034 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.6238, allocations: 91.67 kB / 0.9035 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6238, allocations: 4 kB / 0.9035 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6238, allocations: 3.984 kB / 0.9035 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006323/0.6244, allocations: 0.6988 MB / 0.9042 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.6266, allocations: 1.638 MB / 0.9058 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6266, allocations: 4.5 kB / 0.9058 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.6271, allocations: 99.89 kB / 0.9059 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.6271, allocations: 8.812 kB / 0.9059 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.6271, allocations: 16 kB / 0.9059 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.6272, allocations: 11.94 kB / 0.906 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6272, allocations: 5.094 kB / 0.906 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009683/0.6281, allocations: 0.8691 MB / 0.9068 GB, free: 6.594 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.6284, allocations: 204.1 kB / 0.907 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.6285, allocations: 20.11 kB / 0.907 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.629, allocations: 22.19 kB / 0.907 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.629, allocations: 47.83 kB / 0.9071 GB, free: 6.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.6291, allocations: 20 kB / 0.9071 GB, free: 6.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005419/0.6296, allocations: 0.5107 MB / 0.9076 GB, free: 5.766 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6296, allocations: 4 kB / 0.9076 GB, free: 5.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006305/0.6303, allocations: 196 kB / 0.9078 GB, free: 5.57 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0003897/0.6307, allocations: 214.4 kB / 0.908 GB, free: 5.375 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.6314, allocations: 490.3 kB / 0.9085 GB, free: 4.898 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6314, allocations: 0 / 0.9085 GB, free: 4.898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.6317, allocations: 207.7 kB / 0.9087 GB, free: 4.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.6335, allocations: 472.1 kB / 0.9091 GB, free: 4.238 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.6357, allocations: 1.647 MB / 0.9107 GB, free: 2.512 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.6363, allocations: 1.04 MB / 0.9117 GB, free: 1.445 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005233/0.6368, allocations: 199 kB / 0.9119 GB, free: 1.246 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.6369, allocations: 59.44 kB / 0.912 GB, free: 1.188 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.6369, allocations: 0 / 0.912 GB, free: 1.188 MB / 0.67 GB Notification: Performance of Templates: time 0.02209/0.659, allocations: 15.04 MB / 0.9267 GB, free: 2.438 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)