Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001236/0.001236, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001893/0.001893, allocations: 193.5 kB / 16.13 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 63.22 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2831, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7795/1.063, allocations: 188.2 MB / 0.9664 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01079/1.073, allocations: 5.716 MB / 0.972 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/1.076, allocations: 33.34 kB / 0.9721 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/1.078, allocations: 0.4939 MB / 0.9725 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006751/1.085, allocations: 1.713 MB / 0.9742 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/1.089, allocations: 1.074 MB / 0.9753 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005408/1.094, allocations: 4.064 MB / 0.9792 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/1.096, allocations: 0.9619 MB / 0.9802 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/1.098, allocations: 0.8977 MB / 0.9811 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/1.101, allocations: 0.9938 MB / 0.982 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/1.101, allocations: 59.12 kB / 0.9821 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/1.105, allocations: 1.645 MB / 0.9837 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006591/1.106, allocations: 0.5113 MB / 0.9842 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/1.107, allocations: 0.653 MB / 0.9848 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/1.111, allocations: 2.349 MB / 0.9871 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.111, allocations: 0 / 0.9871 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.31e-07/1.111, allocations: 4 kB / 0.9871 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.786e-05/1.111, allocations: 0 / 0.9871 GB, free: 4.203 MB / 0.7325 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.003155/1.115, allocations: 1.62 MB / 0.9887 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.115, allocations: 9.219 kB / 0.9887 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/1.117, allocations: 323.6 kB / 0.989 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.118, allocations: 0.8576 MB / 0.9899 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/1.118, allocations: 75.67 kB / 0.9899 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/1.118, allocations: 97.56 kB / 0.99 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.12, allocations: 1.097 MB / 0.9911 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.121, allocations: 3.906 kB / 0.9911 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/1.121, allocations: 45.64 kB / 0.9911 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/1.121, allocations: 36.19 kB / 0.9912 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/1.122, allocations: 0.9914 MB / 0.9921 GB, free: 18.48 MB / 0.7481 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.005652/1.128, allocations: 4.225 MB / 0.9963 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/1.129, allocations: 0.5994 MB / 0.9969 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/1.129, allocations: 345.5 kB / 0.9972 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.129, allocations: 101.6 kB / 0.9973 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.129, allocations: 47.72 kB / 0.9973 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 2.445e-06/1.129, allocations: 0 / 0.9973 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.003999/1.133, allocations: 2.188 MB / 0.9995 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.133, allocations: 63.56 kB / 0.9995 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.135, allocations: 0.8729 MB / 1 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/1.135, allocations: 43.2 kB / 1 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/1.135, allocations: 0.5148 MB / 1.001 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/1.135, allocations: 195.6 kB / 1.001 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/1.136, allocations: 129.2 kB / 1.001 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.136, allocations: 333.5 kB / 1.002 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/1.136, allocations: 284.4 kB / 1.002 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/1.137, allocations: 451.1 kB / 1.002 GB, free: 12.36 MB / 0.7481 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.003991/1.141, allocations: 1.741 MB / 1.004 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.141, allocations: 3.188 kB / 1.004 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001684/1.143, allocations: 0.924 MB / 1.005 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.143, allocations: 5.062 kB / 1.005 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.143, allocations: 5 kB / 1.005 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/1.143, allocations: 98.2 kB / 1.005 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/1.144, allocations: 168.2 kB / 1.005 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/1.148, allocations: 4.285 MB / 1.009 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.149, allocations: 74.17 kB / 1.009 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/1.149, allocations: 24.31 kB / 1.009 GB, free: 6.711 MB / 0.7481 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.0008445/1.15, allocations: 342.1 kB / 1.01 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/1.15, allocations: 97.94 kB / 1.01 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/1.151, allocations: 113.1 kB / 1.01 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.151, allocations: 9.188 kB / 1.01 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.151, allocations: 3.938 kB / 1.01 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/1.152, allocations: 0.7696 MB / 1.011 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/1.157, allocations: 1.989 MB / 1.013 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.157, allocations: 2.312 kB / 1.013 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/1.157, allocations: 145.2 kB / 1.013 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/1.158, allocations: 42.95 kB / 1.013 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/1.158, allocations: 14.69 kB / 1.013 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/1.159, allocations: 1.487 MB / 1.014 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.159, allocations: 5.031 kB / 1.014 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/1.161, allocations: 1.232 MB / 1.015 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/1.161, allocations: 259.8 kB / 1.016 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.162, allocations: 19.36 kB / 1.016 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/1.162, allocations: 64.14 kB / 1.016 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.163, allocations: 48 kB / 1.016 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/1.163, allocations: 32.98 kB / 1.016 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009577/1.164, allocations: 0.6082 MB / 1.016 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.164, allocations: 4 kB / 1.016 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001127/1.165, allocations: 299.6 kB / 1.017 GB, free: 1.547 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.0005102/1.165, allocations: 199.5 kB / 1.017 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.167, allocations: 1 MB / 1.018 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.167, allocations: 3.031 kB / 1.018 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006567/1.168, allocations: 454.8 kB / 1.018 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.171, allocations: 0.6216 MB / 1.019 GB, free: 212 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/1.175, allocations: 2.495 MB / 1.021 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/1.176, allocations: 1.162 MB / 1.023 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001268/1.177, allocations: 255.2 kB / 1.023 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.177, allocations: 75.94 kB / 1.023 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of SimCode: time 1.263e-06/1.177, allocations: 0 / 1.023 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of Templates: time 0.03853/1.216, allocations: 21.37 MB / 1.044 GB, free: 12.98 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)