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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.004424/0.004424, allocations: 173.9 kB / 16.27 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.169/1.169, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.552/1.552, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004408/0.0004408, allocations: 18.84 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1806, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4957/0.6763, allocations: 185.7 MB / 0.9694 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00747/0.6838, allocations: 5.661 MB / 0.9749 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.6845, allocations: 32.12 kB / 0.9749 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.6857, allocations: 0.5003 MB / 0.9754 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.6891, allocations: 1.712 MB / 0.9771 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.6912, allocations: 1.071 MB / 0.9781 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.6947, allocations: 4.063 MB / 0.9821 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009949/0.6957, allocations: 0.9298 MB / 0.983 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.6967, allocations: 0.8636 MB / 0.9838 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6981, allocations: 0.9458 MB / 0.9848 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.923e-05/0.6982, allocations: 45.56 kB / 0.9848 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.7005, allocations: 1.627 MB / 0.9864 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.7009, allocations: 0.4932 MB / 0.9869 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.7015, allocations: 0.6482 MB / 0.9875 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.7034, allocations: 2.312 MB / 0.9898 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7034, allocations: 0 / 0.9898 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7035, allocations: 0 / 0.9898 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.7035, allocations: 0 / 0.9898 GB, free: 9.527 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.001848/0.7053, allocations: 1.367 MB / 0.9911 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7054, allocations: 10.34 kB / 0.9911 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.7055, allocations: 160.2 kB / 0.9913 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.7073, allocations: 321.5 kB / 0.9916 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.7084, allocations: 0.8554 MB / 0.9924 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.7084, allocations: 75.16 kB / 0.9925 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.7086, allocations: 102.8 kB / 0.9926 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.7101, allocations: 1.099 MB / 0.9937 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.7102, allocations: 0 / 0.9937 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.7103, allocations: 40.47 kB / 0.9937 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.7103, allocations: 41.7 kB / 0.9937 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.7117, allocations: 1.001 MB / 0.9947 GB, free: 6.395 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.005062/0.7168, allocations: 4.249 MB / 0.9989 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.7176, allocations: 0.5964 MB / 0.9994 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.718, allocations: 353.6 kB / 0.9998 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.7182, allocations: 103.4 kB / 0.9999 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.7182, allocations: 40.97 kB / 0.9999 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.946e-06/0.7183, allocations: 3.984 kB / 0.9999 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003423/0.7217, allocations: 2.222 MB / 1.002 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7217, allocations: 65.72 kB / 1.002 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.7226, allocations: 0.8739 MB / 1.003 GB, free: 392 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.7227, allocations: 39.02 kB / 1.003 GB, free: 352 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.723, allocations: 0.5083 MB / 1.004 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.7232, allocations: 197.9 kB / 1.004 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.7233, allocations: 59.84 kB / 1.004 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7234, allocations: 334.4 kB / 1.004 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.7238, allocations: 294.1 kB / 1.004 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.7244, allocations: 449.9 kB / 1.005 GB, free: 14.89 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.003504/0.7279, allocations: 1.775 MB / 1.007 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7279, allocations: 2.938 kB / 1.007 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001292/0.7292, allocations: 0.9292 MB / 1.007 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7292, allocations: 8.25 kB / 1.007 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7292, allocations: 10.88 kB / 1.007 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.7294, allocations: 92.92 kB / 1.008 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.7301, allocations: 194.5 kB / 1.008 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.733, allocations: 4.276 MB / 1.012 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.7338, allocations: 78.14 kB / 1.012 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.7339, allocations: 26.16 kB / 1.012 GB, free: 8.98 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 sytem: 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.0004287/0.7343, allocations: 340.5 kB / 1.012 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.7344, allocations: 99.09 kB / 1.012 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.7346, allocations: 111.9 kB / 1.013 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7347, allocations: 8.562 kB / 1.013 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7347, allocations: 0 / 1.013 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009462/0.7356, allocations: 0.7731 MB / 1.013 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.7383, allocations: 2.003 MB / 1.015 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7383, allocations: 5.094 kB / 1.015 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.7389, allocations: 158.1 kB / 1.015 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.739, allocations: 43.12 kB / 1.015 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.7391, allocations: 15.92 kB / 1.015 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.7401, allocations: 1.488 MB / 1.017 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7401, allocations: 9.844 kB / 1.017 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.7416, allocations: 1.236 MB / 1.018 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.7419, allocations: 263.2 kB / 1.018 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.742, allocations: 13.19 kB / 1.018 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.7428, allocations: 75.16 kB / 1.018 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.7429, allocations: 47.91 kB / 1.019 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.7429, allocations: 33.73 kB / 1.019 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006192/0.7436, allocations: 0.6082 MB / 1.019 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7436, allocations: 0 / 1.019 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007412/0.7443, allocations: 302.5 kB / 1.019 GB, free: 3.758 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.00199/0.7463, allocations: 1.893 MB / 1.021 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.7476, allocations: 1.014 MB / 1.022 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7476, allocations: 2.906 kB / 1.022 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.7481, allocations: 453.7 kB / 1.023 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.751, allocations: 0.6171 MB / 1.023 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.7609, allocations: 8.728 MB / 1.032 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.7616, allocations: 1.166 MB / 1.033 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008122/0.7624, allocations: 248.4 kB / 1.033 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.7629, allocations: 375.3 kB / 1.034 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.7629, allocations: 0 / 1.034 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.083/4.846, allocations: 28.88 MB / 1.062 GB, free: 12.62 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/4.846, allocations: 310.7 kB / 1.062 GB, free: 12.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/7.267, allocations: 0 / 1.062 GB, free: 12.24 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)