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.001074/0.001074, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001094/0.001094, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.231/1.231, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.691/1.691, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001272/0.001272, allocations: 67.23 kB / 0.6711 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1868, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5392/0.7261, allocations: 188 MB / 0.9665 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007609/0.7337, allocations: 5.624 MB / 0.972 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.735, allocations: 33.22 kB / 0.972 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.7364, allocations: 0.5026 MB / 0.9725 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.7402, allocations: 1.713 MB / 0.9742 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.7427, allocations: 1.076 MB / 0.9753 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.7458, allocations: 2.92 MB / 0.9781 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.747, allocations: 1.094 MB / 0.9792 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.7486, allocations: 1.063 MB / 0.9802 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.7501, allocations: 1.024 MB / 0.9812 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.7503, allocations: 123.7 kB / 0.9813 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.7529, allocations: 1.523 MB / 0.9828 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.7534, allocations: 0.5712 MB / 0.9834 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.7541, allocations: 0.7233 MB / 0.9841 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.7566, allocations: 2.406 MB / 0.9864 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7566, allocations: 0 / 0.9864 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7566, allocations: 0 / 0.9864 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.7566, allocations: 0 / 0.9864 GB, free: 4.531 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.002377/0.759, allocations: 1.62 MB / 0.988 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7591, allocations: 12.25 kB / 0.988 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.7593, allocations: 162.6 kB / 0.9882 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.7611, allocations: 321.3 kB / 0.9885 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7622, allocations: 0.861 MB / 0.9893 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.7623, allocations: 71.62 kB / 0.9894 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7624, allocations: 103.8 kB / 0.9895 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.764, allocations: 1.091 MB / 0.9906 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.764, allocations: 1.5 kB / 0.9906 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.7641, allocations: 44.38 kB / 0.9906 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.7642, allocations: 40.47 kB / 0.9906 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.7656, allocations: 0.9864 MB / 0.9916 GB, free: 18.43 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.004819/0.7704, allocations: 4.237 MB / 0.9957 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.7711, allocations: 0.591 MB / 0.9963 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.7715, allocations: 340.7 kB / 0.9967 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.7717, allocations: 110.1 kB / 0.9968 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.7718, allocations: 39.44 kB / 0.9968 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.7718, allocations: 0 / 0.9968 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.003402/0.7752, allocations: 2.195 MB / 0.9989 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7752, allocations: 67.23 kB / 0.999 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.776, allocations: 0.8712 MB / 0.9999 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.7761, allocations: 40.2 kB / 0.9999 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.7764, allocations: 0.51 MB / 1 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.7765, allocations: 199.3 kB / 1.001 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7767, allocations: 132.8 kB / 1.001 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7768, allocations: 336 kB / 1.001 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.7773, allocations: 281.6 kB / 1.001 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.7778, allocations: 450.7 kB / 1.002 GB, free: 12.31 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.003448/0.7812, allocations: 1.74 MB / 1.003 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7813, allocations: 2.625 kB / 1.003 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001298/0.7826, allocations: 0.9218 MB / 1.004 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7826, allocations: 8.469 kB / 1.004 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7826, allocations: 6.219 kB / 1.004 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.7828, allocations: 101.1 kB / 1.004 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.7835, allocations: 167.3 kB / 1.005 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.7866, allocations: 4.64 MB / 1.009 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/0.7875, allocations: 60.83 kB / 1.009 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.7875, allocations: 29.81 kB / 1.009 GB, free: 6.758 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.0004579/0.788, allocations: 344.3 kB / 1.01 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.7882, allocations: 101.5 kB / 1.01 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.7883, allocations: 113.6 kB / 1.01 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7883, allocations: 5.062 kB / 1.01 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7883, allocations: 1.5 kB / 1.01 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009613/0.7893, allocations: 0.7616 MB / 1.01 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.7919, allocations: 1.994 MB / 1.012 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.792, allocations: 4.844 kB / 1.012 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.7926, allocations: 145.2 kB / 1.013 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.7927, allocations: 40.61 kB / 1.013 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.7927, allocations: 17.66 kB / 1.013 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.7938, allocations: 1.615 MB / 1.014 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7938, allocations: 3.406 kB / 1.014 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.7953, allocations: 1.236 MB / 1.015 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.7957, allocations: 248.8 kB / 1.016 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.7958, allocations: 15.94 kB / 1.016 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.7966, allocations: 71.12 kB / 1.016 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.7967, allocations: 51.45 kB / 1.016 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.7967, allocations: 29.02 kB / 1.016 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006336/0.7974, allocations: 0.6085 MB / 1.016 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7974, allocations: 2.75 kB / 1.016 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008132/0.7982, allocations: 307.7 kB / 1.017 GB, free: 2.082 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.001979/0.8002, allocations: 1.861 MB / 1.019 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.8017, allocations: 1.115 MB / 1.02 GB, free: 84 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8017, allocations: 0 / 1.02 GB, free: 84 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.8022, allocations: 456.7 kB / 1.02 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.8047, allocations: 0.6538 MB / 1.021 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.8148, allocations: 8.601 MB / 1.029 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.8154, allocations: 1.177 MB / 1.03 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009039/0.8163, allocations: 245.4 kB / 1.03 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.8168, allocations: 380.4 kB / 1.031 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of SimCode: time 1.803e-06/0.8169, allocations: 0 / 1.031 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.277/4.093, allocations: 29.96 MB / 1.06 GB, free: 13.41 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/4.094, allocations: 304.9 kB / 1.06 GB, free: 13.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/7.081, allocations: 0 / 1.06 GB, free: 13.03 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)