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.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 279.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 92.23 kB / 0.5952 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1454, allocations: 86.99 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5106/0.656, allocations: 187.3 MB / 0.863 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.6703, allocations: 13.07 MB / 0.8758 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.6715, allocations: 34.75 kB / 0.8758 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.6727, allocations: 423.6 kB / 0.8762 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.6754, allocations: 1.167 MB / 0.8774 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.677, allocations: 0.6938 MB / 0.8781 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.6789, allocations: 2.016 MB / 0.88 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.68, allocations: 0.8364 MB / 0.8808 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.6838, allocations: 1.815 MB / 0.8826 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.6853, allocations: 0.6651 MB / 0.8833 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.6856, allocations: 78.16 kB / 0.8833 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.6875, allocations: 0.865 MB / 0.8842 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.6879, allocations: 390 kB / 0.8846 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.6887, allocations: 0.4962 MB / 0.885 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.6908, allocations: 1.48 MB / 0.8865 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6908, allocations: 0 / 0.8865 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6908, allocations: 0 / 0.8865 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.252e-05/0.6909, allocations: 1.812 kB / 0.8865 GB, free: 1.039 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002052/0.6929, allocations: 1.229 MB / 0.8877 GB, free: 76 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.693, allocations: 10.06 kB / 0.8877 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.6942, allocations: 226.5 kB / 0.8879 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.6953, allocations: 0.6371 MB / 0.8885 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.6953, allocations: 56.41 kB / 0.8886 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6955, allocations: 76.84 kB / 0.8887 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6968, allocations: 0.942 MB / 0.8896 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.6968, allocations: 10.41 kB / 0.8896 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.6969, allocations: 31.53 kB / 0.8896 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.6969, allocations: 36.88 kB / 0.8897 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/0.6978, allocations: 0.6151 MB / 0.8903 GB, free: 14.39 MB / 0.6075 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.004198/0.7021, allocations: 4.599 MB / 0.8947 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.7028, allocations: 0.5404 MB / 0.8953 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.7031, allocations: 246.9 kB / 0.8955 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.7033, allocations: 100.8 kB / 0.8956 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7034, allocations: 46.7 kB / 0.8957 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.7034, allocations: 0 / 0.8957 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002696/0.7061, allocations: 1.585 MB / 0.8972 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.7061, allocations: 109.9 kB / 0.8973 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.707, allocations: 0.7155 MB / 0.898 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.707, allocations: 37.7 kB / 0.898 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.7073, allocations: 419.8 kB / 0.8984 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.7075, allocations: 157.7 kB / 0.8986 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.7076, allocations: 122.2 kB / 0.8987 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7078, allocations: 330 kB / 0.899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.7081, allocations: 193.1 kB / 0.8992 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.7085, allocations: 413 kB / 0.8996 GB, free: 5.941 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.7107, allocations: 1.186 MB / 0.9008 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.7107, allocations: 4 kB / 0.9008 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001024/0.7117, allocations: 0.6643 MB / 0.9014 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7117, allocations: 11.94 kB / 0.9014 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.7118, allocations: 12.03 kB / 0.9014 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.7118, allocations: 8 kB / 0.9014 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.7123, allocations: 127.8 kB / 0.9016 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.7123, allocations: 12.88 kB / 0.9016 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.7129, allocations: 35.83 kB / 0.9016 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.713, allocations: 28 kB / 0.9016 GB, free: 3.746 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: 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.0003875/0.7134, allocations: 275.5 kB / 0.9019 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.7136, allocations: 83 kB / 0.902 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.7138, allocations: 95.66 kB / 0.9021 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7138, allocations: 8 kB / 0.9021 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7138, allocations: 1.188 kB / 0.9021 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007086/0.7145, allocations: 0.6911 MB / 0.9028 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.7171, allocations: 1.639 MB / 0.9044 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7171, allocations: 4 kB / 0.9044 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.7176, allocations: 99.83 kB / 0.9045 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.7176, allocations: 7.938 kB / 0.9045 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.7177, allocations: 16 kB / 0.9045 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.7177, allocations: 7.984 kB / 0.9045 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.7177, allocations: 13.06 kB / 0.9045 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.7188, allocations: 0.8611 MB / 0.9053 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.7191, allocations: 212.1 kB / 0.9055 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.7193, allocations: 23.94 kB / 0.9056 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.7198, allocations: 16.69 kB / 0.9056 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.7198, allocations: 39.84 kB / 0.9056 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.7199, allocations: 23.98 kB / 0.9056 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006662/0.7206, allocations: 0.5068 MB / 0.9061 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7206, allocations: 4 kB / 0.9061 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007957/0.7214, allocations: 204 kB / 0.9063 GB, free: 14.66 MB / 0.6231 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.0004715/0.7219, allocations: 207.7 kB / 0.9065 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.7228, allocations: 0.5154 MB / 0.907 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7228, allocations: 0 / 0.907 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.7231, allocations: 209.9 kB / 0.9072 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.7253, allocations: 485.6 kB / 0.9077 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.7279, allocations: 1.665 MB / 0.9093 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.7286, allocations: 1.036 MB / 0.9103 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.7293, allocations: 207 kB / 0.9105 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.7295, allocations: 67.36 kB / 0.9106 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.7295, allocations: 0 / 0.9106 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.02617/0.7557, allocations: 15.06 MB / 0.9253 GB, free: 11.44 MB / 0.6387 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)