Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001193/0.001192, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 289.4 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001683, allocations: 98.34 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.98 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4828/0.6472, allocations: 190.4 MB / 0.8676 GB, free: 12 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009526/0.6568, allocations: 5.705 MB / 0.8732 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.6579, allocations: 43.75 kB / 0.8732 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.6596, allocations: 0.563 MB / 0.8737 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.6638, allocations: 1.832 MB / 0.8755 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.6667, allocations: 1.181 MB / 0.8767 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.6702, allocations: 2.969 MB / 0.8796 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.6717, allocations: 1.118 MB / 0.8807 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.6733, allocations: 1.047 MB / 0.8817 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.6752, allocations: 0.9711 MB / 0.8827 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.6755, allocations: 124 kB / 0.8828 GB, free: 444 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.6781, allocations: 1.442 MB / 0.8842 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005426/0.6786, allocations: 0.5688 MB / 0.8847 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007879/0.6794, allocations: 0.7233 MB / 0.8854 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.682, allocations: 2.337 MB / 0.8877 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.682, allocations: 3.984 kB / 0.8877 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.682, allocations: 0 / 0.8877 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.682, allocations: 0 / 0.8877 GB, free: 11.34 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002351/0.6844, allocations: 1.617 MB / 0.8893 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6844, allocations: 15.97 kB / 0.8893 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.6863, allocations: 326.2 kB / 0.8896 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.6879, allocations: 0.9136 MB / 0.8905 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.6879, allocations: 74 kB / 0.8906 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6881, allocations: 103.9 kB / 0.8907 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.6898, allocations: 1.085 MB / 0.8918 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.6898, allocations: 4 kB / 0.8918 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.6899, allocations: 40 kB / 0.8918 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.69, allocations: 41.98 kB / 0.8918 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.6915, allocations: 0.9915 MB / 0.8928 GB, free: 6.039 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.005636/0.6972, allocations: 4.216 MB / 0.8969 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.6981, allocations: 0.599 MB / 0.8975 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.6986, allocations: 345 kB / 0.8978 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.6988, allocations: 101.5 kB / 0.8979 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.6988, allocations: 50.88 kB / 0.898 GB, free: 416 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 1.913e-06/0.6988, allocations: 0 / 0.898 GB, free: 416 kB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.003799/0.7026, allocations: 2.201 MB / 0.9001 GB, free: 14.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.7027, allocations: 55.97 kB / 0.9002 GB, free: 14.02 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.7037, allocations: 0.8882 MB / 0.901 GB, free: 13.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.7038, allocations: 45.69 kB / 0.9011 GB, free: 13.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.7041, allocations: 0.5145 MB / 0.9016 GB, free: 12.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.7043, allocations: 193.2 kB / 0.9018 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.7045, allocations: 138.5 kB / 0.9019 GB, free: 12.22 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7046, allocations: 330 kB / 0.9022 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.7051, allocations: 281.8 kB / 0.9025 GB, free: 11.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.7056, allocations: 436.9 kB / 0.9029 GB, free: 11.14 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.003681/0.7093, allocations: 1.749 MB / 0.9046 GB, free: 9.324 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7093, allocations: 0 / 0.9046 GB, free: 9.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001423/0.7108, allocations: 0.9233 MB / 0.9055 GB, free: 8.387 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.7108, allocations: 8 kB / 0.9055 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7108, allocations: 4 kB / 0.9055 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.711, allocations: 94.45 kB / 0.9056 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.7117, allocations: 167.8 kB / 0.9058 GB, free: 8.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.7151, allocations: 4.637 MB / 0.9103 GB, free: 3.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.7159, allocations: 32.14 kB / 0.9103 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.7159, allocations: 24 kB / 0.9104 GB, free: 2.992 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005329/0.7165, allocations: 346.6 kB / 0.9107 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.7166, allocations: 98.88 kB / 0.9108 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.7168, allocations: 113.2 kB / 0.9109 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7168, allocations: 7.938 kB / 0.9109 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7168, allocations: 0 / 0.9109 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.7179, allocations: 0.7692 MB / 0.9117 GB, free: 1.605 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.7209, allocations: 1.993 MB / 0.9136 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7209, allocations: 0 / 0.9136 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.7216, allocations: 147.8 kB / 0.9137 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-05/0.7217, allocations: 48.75 kB / 0.9138 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.7217, allocations: 16 kB / 0.9138 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.7228, allocations: 1.606 MB / 0.9154 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7228, allocations: 4.031 kB / 0.9154 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.7245, allocations: 1.208 MB / 0.9166 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.7249, allocations: 251.8 kB / 0.9168 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.7251, allocations: 23.94 kB / 0.9168 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.7257, allocations: 42.25 kB / 0.9169 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7258, allocations: 39.95 kB / 0.9169 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.7259, allocations: 31.92 kB / 0.9169 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007746/0.7267, allocations: 0.6161 MB / 0.9175 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7267, allocations: 4 kB / 0.9175 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009055/0.7276, allocations: 304 kB / 0.9178 GB, free: 10.98 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/0.728, allocations: 195 kB / 0.918 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.7295, allocations: 1 MB / 0.919 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.7295, allocations: 8.25 kB / 0.919 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.7301, allocations: 453.9 kB / 0.9194 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.7325, allocations: 0.6396 MB / 0.9201 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.7354, allocations: 2.108 MB / 0.9221 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.7361, allocations: 1.174 MB / 0.9233 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007181/0.7368, allocations: 252.4 kB / 0.9235 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.737, allocations: 71.44 kB / 0.9236 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.737, allocations: 0 / 0.9236 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of Templates: time 0.03337/0.7704, allocations: 22.26 MB / 0.9453 GB, free: 15.08 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)