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.001129/0.001129, 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.001061/0.001061, 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.32/1.32, 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.002258/0.002258, allocations: 285.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9594/0.9594, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 96.33 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1586, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.448/0.6066, allocations: 190.5 MB / 0.8676 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.6168, allocations: 5.705 MB / 0.8731 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.6182, allocations: 43.75 kB / 0.8732 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.6199, allocations: 0.5669 MB / 0.8737 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.6244, allocations: 1.835 MB / 0.8755 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.6274, allocations: 1.185 MB / 0.8767 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.6312, allocations: 2.959 MB / 0.8796 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.6328, allocations: 1.116 MB / 0.8807 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.6347, allocations: 1.062 MB / 0.8817 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.6367, allocations: 0.9644 MB / 0.8826 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.637, allocations: 124 kB / 0.8828 GB, free: 388 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.64, allocations: 1.446 MB / 0.8842 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000721/0.6407, allocations: 0.561 MB / 0.8847 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.6419, allocations: 0.7195 MB / 0.8854 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.6454, allocations: 2.341 MB / 0.8877 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6454, allocations: 0 / 0.8877 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6455, allocations: 0 / 0.8877 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.563e-05/0.6455, allocations: 4 kB / 0.8877 GB, free: 11.3 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.002687/0.6482, allocations: 1.617 MB / 0.8893 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6483, allocations: 12.02 kB / 0.8893 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.6503, allocations: 326.2 kB / 0.8896 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.6519, allocations: 0.9174 MB / 0.8905 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.652, allocations: 74 kB / 0.8906 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.6521, allocations: 99.91 kB / 0.8907 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.6539, allocations: 1.085 MB / 0.8917 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6539, allocations: 0 / 0.8917 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.654, allocations: 48 kB / 0.8918 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.654, allocations: 41.98 kB / 0.8918 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.6556, allocations: 0.9915 MB / 0.8928 GB, free: 5.992 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.005976/0.6616, allocations: 4.219 MB / 0.8969 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.6624, allocations: 0.5981 MB / 0.8975 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.6629, allocations: 344.6 kB / 0.8978 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6631, allocations: 101.5 kB / 0.8979 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6632, allocations: 51 kB / 0.898 GB, free: 364 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.6632, allocations: 0 / 0.898 GB, free: 364 kB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.003864/0.667, allocations: 2.201 MB / 0.9001 GB, free: 14.04 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.6671, allocations: 55.97 kB / 0.9002 GB, free: 13.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6681, allocations: 0.8842 MB / 0.901 GB, free: 13.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.6682, allocations: 41.7 kB / 0.9011 GB, free: 13.03 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.6686, allocations: 0.5184 MB / 0.9016 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6688, allocations: 201.2 kB / 0.9018 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.669, allocations: 134.5 kB / 0.9019 GB, free: 12.17 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6691, allocations: 330 kB / 0.9022 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.6696, allocations: 285.8 kB / 0.9025 GB, free: 11.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.6702, allocations: 433 kB / 0.9029 GB, free: 11.09 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.003766/0.6739, allocations: 1.737 MB / 0.9046 GB, free: 9.285 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.674, allocations: 4 kB / 0.9046 GB, free: 9.281 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001496/0.6755, allocations: 0.9223 MB / 0.9055 GB, free: 8.344 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6755, allocations: 8 kB / 0.9055 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6755, allocations: 4 kB / 0.9055 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.6757, allocations: 103.5 kB / 0.9056 GB, free: 8.223 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.6764, allocations: 163.8 kB / 0.9058 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.68, allocations: 4.637 MB / 0.9103 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/0.6809, allocations: 32.12 kB / 0.9103 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.6809, allocations: 32 kB / 0.9104 GB, free: 2.938 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.0006082/0.6816, allocations: 337.5 kB / 0.9107 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.6817, allocations: 98.88 kB / 0.9108 GB, free: 2.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.6819, allocations: 109.2 kB / 0.9109 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6819, allocations: 11.98 kB / 0.9109 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6819, allocations: 0 / 0.9109 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/0.683, allocations: 0.7691 MB / 0.9116 GB, free: 1.559 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.6861, allocations: 1.986 MB / 0.9136 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.6861, allocations: 12.02 kB / 0.9136 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.6868, allocations: 143.8 kB / 0.9137 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.008e-05/0.6869, allocations: 36.83 kB / 0.9138 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.6869, allocations: 16 kB / 0.9138 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.6881, allocations: 1.607 MB / 0.9154 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6881, allocations: 7.938 kB / 0.9154 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.6897, allocations: 1.208 MB / 0.9165 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.6902, allocations: 259.8 kB / 0.9168 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6903, allocations: 15.94 kB / 0.9168 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.691, allocations: 37.02 kB / 0.9168 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6911, allocations: 47.81 kB / 0.9169 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.6912, allocations: 35.92 kB / 0.9169 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007068/0.6919, allocations: 0.6122 MB / 0.9175 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6919, allocations: 0 / 0.9175 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008572/0.6928, allocations: 304 kB / 0.9178 GB, free: 10.93 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.0004311/0.6932, allocations: 192.2 kB / 0.918 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.6947, allocations: 1.012 MB / 0.919 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6947, allocations: 0 / 0.919 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.6953, allocations: 454 kB / 0.9194 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.6977, allocations: 0.6471 MB / 0.92 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.7006, allocations: 2.103 MB / 0.9221 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.7013, allocations: 1.166 MB / 0.9232 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007442/0.7021, allocations: 252.4 kB / 0.9235 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.7023, allocations: 75.44 kB / 0.9235 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.7023, allocations: 0 / 0.9235 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of Templates: time 0.03536/0.7377, allocations: 22.27 MB / 0.9453 GB, free: 15.04 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)