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.001366/0.001367, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001432/0.001432, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 289.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 96.41 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 86.97 MB / 0.6808 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4919/0.66, allocations: 190.4 MB / 0.8668 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009462/0.6696, allocations: 5.71 MB / 0.8724 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.671, allocations: 39.75 kB / 0.8724 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.6728, allocations: 0.5669 MB / 0.873 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.6775, allocations: 1.836 MB / 0.8748 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.6807, allocations: 1.17 MB / 0.8759 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.6847, allocations: 2.952 MB / 0.8788 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.6864, allocations: 1.121 MB / 0.8799 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.6885, allocations: 1.043 MB / 0.8809 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.6905, allocations: 0.9646 MB / 0.8819 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.6907, allocations: 120 kB / 0.882 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.6936, allocations: 1.446 MB / 0.8834 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.6942, allocations: 0.5689 MB / 0.8839 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/0.6951, allocations: 0.7234 MB / 0.8846 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.6983, allocations: 2.318 MB / 0.8869 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6983, allocations: 3.938 kB / 0.8869 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6983, allocations: 4 kB / 0.8869 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.6983, allocations: 0 / 0.8869 GB, free: 11.79 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.002578/0.7009, allocations: 1.621 MB / 0.8885 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.701, allocations: 12.03 kB / 0.8885 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.7031, allocations: 328 kB / 0.8888 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.7044, allocations: 0.8629 MB / 0.8897 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.7045, allocations: 74 kB / 0.8897 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.7046, allocations: 103.9 kB / 0.8898 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.7064, allocations: 1.1 MB / 0.8909 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.7065, allocations: 3.984 kB / 0.8909 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7066, allocations: 40 kB / 0.891 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.7066, allocations: 41.98 kB / 0.891 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.7083, allocations: 0.9915 MB / 0.892 GB, free: 6.52 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.005906/0.7142, allocations: 4.262 MB / 0.8961 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.7151, allocations: 0.5951 MB / 0.8967 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.7156, allocations: 346.5 kB / 0.897 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.7158, allocations: 101.5 kB / 0.8971 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.7158, allocations: 42.94 kB / 0.8972 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.584e-06/0.7158, allocations: 4 kB / 0.8972 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.004046/0.7199, allocations: 2.204 MB / 0.8993 GB, free: 14.52 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.7199, allocations: 55.97 kB / 0.8994 GB, free: 14.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.7211, allocations: 0.8882 MB / 0.9003 GB, free: 13.56 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.7211, allocations: 41.69 kB / 0.9003 GB, free: 13.51 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.7215, allocations: 0.5146 MB / 0.9008 GB, free: 12.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.7217, allocations: 197.1 kB / 0.901 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.7219, allocations: 138.5 kB / 0.9011 GB, free: 12.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.722, allocations: 330 kB / 0.9014 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.7225, allocations: 281.8 kB / 0.9017 GB, free: 12.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.7231, allocations: 437.8 kB / 0.9021 GB, free: 11.57 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.003831/0.727, allocations: 1.756 MB / 0.9038 GB, free: 9.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.727, allocations: 0 / 0.9038 GB, free: 9.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001563/0.7285, allocations: 0.922 MB / 0.9047 GB, free: 8.812 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.7286, allocations: 8 kB / 0.9047 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7286, allocations: 4 kB / 0.9047 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.7288, allocations: 98.77 kB / 0.9048 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.7295, allocations: 164.8 kB / 0.905 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.7329, allocations: 4.632 MB / 0.9095 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/0.7339, allocations: 31.89 kB / 0.9095 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.7339, allocations: 25.66 kB / 0.9096 GB, free: 3.422 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.0005467/0.7345, allocations: 357.4 kB / 0.9099 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.7347, allocations: 98.88 kB / 0.91 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.7348, allocations: 109.2 kB / 0.9101 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.7349, allocations: 4 kB / 0.9101 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7349, allocations: 0 / 0.9101 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.736, allocations: 0.7692 MB / 0.9109 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.7389, allocations: 1.988 MB / 0.9128 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.739, allocations: 416 / 0.9128 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006663/0.7396, allocations: 151.8 kB / 0.913 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.7398, allocations: 44.81 kB / 0.913 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.7398, allocations: 16 kB / 0.913 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.741, allocations: 1.605 MB / 0.9146 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7411, allocations: 4.031 kB / 0.9146 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.7428, allocations: 1.206 MB / 0.9158 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.7432, allocations: 251.8 kB / 0.916 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.7433, allocations: 23.94 kB / 0.916 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.7441, allocations: 39.53 kB / 0.9161 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7442, allocations: 47.83 kB / 0.9161 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.7443, allocations: 31.92 kB / 0.9161 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007685/0.7451, allocations: 0.6161 MB / 0.9167 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7451, allocations: 4 kB / 0.9167 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009317/0.746, allocations: 308 kB / 0.917 GB, free: 11.4 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.0004478/0.7465, allocations: 197 kB / 0.9172 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.7482, allocations: 1.105 MB / 0.9183 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.7482, allocations: 4.25 kB / 0.9183 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.7488, allocations: 446 kB / 0.9187 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.7516, allocations: 0.6485 MB / 0.9194 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.7562, allocations: 2.195 MB / 0.9215 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.7574, allocations: 1.174 MB / 0.9227 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.7577, allocations: 79.44 kB / 0.9227 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.7577, allocations: 0 / 0.9227 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.03453/0.7922, allocations: 26.92 MB / 0.949 GB, free: 10.69 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)