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.005581/0.005581, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001364/0.001364, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 281.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 95.84 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4182, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1845/0.6027, allocations: 190.5 MB / 0.9524 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4319/1.035, allocations: 5.712 MB / 0.958 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/1.036, allocations: 41.53 kB / 0.958 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/1.037, allocations: 0.5947 MB / 0.9586 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004348/1.042, allocations: 1.894 MB / 0.9604 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/1.045, allocations: 1.192 MB / 0.9616 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003604/1.048, allocations: 2.953 MB / 0.9645 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/1.05, allocations: 1.125 MB / 0.9656 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/1.052, allocations: 1.1 MB / 0.9667 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.053, allocations: 0.9641 MB / 0.9676 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/1.054, allocations: 129.2 kB / 0.9677 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/1.057, allocations: 1.453 MB / 0.9691 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006389/1.057, allocations: 0.5672 MB / 0.9697 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008308/1.058, allocations: 0.7268 MB / 0.9704 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/1.061, allocations: 2.335 MB / 0.9727 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.061, allocations: 0.8438 kB / 0.9727 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/1.061, allocations: 6.094 kB / 0.9727 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.272e-05/1.061, allocations: 0 / 0.9727 GB, free: 1.52 MB / 0.7169 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.002434/1.063, allocations: 1.615 MB / 0.9743 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.063, allocations: 14.12 kB / 0.9743 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.065, allocations: 325.6 kB / 0.9746 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.067, allocations: 0.9137 MB / 0.9755 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/1.067, allocations: 78.84 kB / 0.9756 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.067, allocations: 98.19 kB / 0.9757 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.068, allocations: 1.083 MB / 0.9767 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.068, allocations: 0 / 0.9767 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/1.069, allocations: 40.09 kB / 0.9768 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.069, allocations: 48.62 kB / 0.9768 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/1.07, allocations: 0.9903 MB / 0.9778 GB, free: 16.24 MB / 0.7325 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.005534/1.076, allocations: 4.221 MB / 0.9819 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/1.076, allocations: 0.5954 MB / 0.9825 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/1.077, allocations: 343.3 kB / 0.9828 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/1.077, allocations: 106.9 kB / 0.9829 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.077, allocations: 42.69 kB / 0.9829 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/1.077, allocations: 0.6875 kB / 0.9829 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003888/1.081, allocations: 2.194 MB / 0.9851 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.081, allocations: 67.34 kB / 0.9851 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/1.082, allocations: 0.8806 MB / 0.986 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/1.082, allocations: 38.64 kB / 0.986 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/1.082, allocations: 0.521 MB / 0.9866 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.083, allocations: 194.4 kB / 0.9867 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.083, allocations: 132.1 kB / 0.9869 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.083, allocations: 335.5 kB / 0.9872 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.083, allocations: 286.9 kB / 0.9875 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/1.084, allocations: 431.8 kB / 0.9879 GB, free: 12.51 MB / 0.7325 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.003522/1.087, allocations: 1.743 MB / 0.9896 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.087, allocations: 4.125 kB / 0.9896 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001343/1.089, allocations: 0.9225 MB / 0.9905 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.089, allocations: 8.156 kB / 0.9905 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.089, allocations: 8.156 kB / 0.9905 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/1.089, allocations: 93.12 kB / 0.9906 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/1.09, allocations: 168.6 kB / 0.9907 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/1.093, allocations: 4.627 MB / 0.9953 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/1.094, allocations: 34.41 kB / 0.9953 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.094, allocations: 24.09 kB / 0.9953 GB, free: 8.086 MB / 0.7325 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.0005631/1.095, allocations: 352.2 kB / 0.9957 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.095, allocations: 99.67 kB / 0.9957 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/1.095, allocations: 109.4 kB / 0.9959 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.095, allocations: 11.55 kB / 0.9959 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.095, allocations: 0 / 0.9959 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/1.096, allocations: 0.7692 MB / 0.9966 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/1.099, allocations: 1.986 MB / 0.9986 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.099, allocations: 3.344 kB / 0.9986 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/1.1, allocations: 146.5 kB / 0.9987 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.831e-05/1.1, allocations: 46.23 kB / 0.9987 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/1.1, allocations: 11.81 kB / 0.9988 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/1.101, allocations: 1.605 MB / 1 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.101, allocations: 11.41 kB / 1 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.103, allocations: 1.208 MB / 1.002 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/1.103, allocations: 253.5 kB / 1.002 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.103, allocations: 15.47 kB / 1.002 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/1.104, allocations: 34.44 kB / 1.002 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.104, allocations: 51.52 kB / 1.002 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/1.104, allocations: 35.62 kB / 1.002 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006775/1.105, allocations: 0.6163 MB / 1.002 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 0.9062 kB / 1.002 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000898/1.106, allocations: 307.2 kB / 1.003 GB, free: 5.277 MB / 0.7325 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.0004306/1.106, allocations: 198.1 kB / 1.003 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.107, allocations: 1.016 MB / 1.004 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.108, allocations: 3.219 kB / 1.004 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/1.108, allocations: 441.7 kB / 1.004 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.111, allocations: 0.6385 MB / 1.005 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/1.114, allocations: 2.107 MB / 1.007 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/1.114, allocations: 1.167 MB / 1.008 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000752/1.115, allocations: 253 kB / 1.008 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.115, allocations: 78.05 kB / 1.009 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/1.115, allocations: 1.203 kB / 1.009 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.03422/1.15, allocations: 22.49 MB / 1.03 GB, free: 11.07 MB / 0.7481 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)