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.001102/0.001102, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.634/1.634, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00136/0.00136, allocations: 71.22 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6769/0.9038, allocations: 190.4 MB / 0.9696 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009182/0.913, allocations: 5.65 MB / 0.9751 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.9149, allocations: 39.31 kB / 0.9752 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.9166, allocations: 0.5634 MB / 0.9757 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.9223, allocations: 1.821 MB / 0.9775 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.9258, allocations: 1.173 MB / 0.9786 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004607/0.9305, allocations: 2.933 MB / 0.9815 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.9322, allocations: 1.125 MB / 0.9826 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.9343, allocations: 1.051 MB / 0.9836 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.936, allocations: 0.9629 MB / 0.9846 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.9362, allocations: 123.7 kB / 0.9847 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.9392, allocations: 1.442 MB / 0.9861 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.9398, allocations: 0.5657 MB / 0.9866 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007682/0.9406, allocations: 0.7171 MB / 0.9873 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.9437, allocations: 2.329 MB / 0.9896 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9437, allocations: 0 / 0.9896 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9438, allocations: 0 / 0.9896 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.9438, allocations: 0 / 0.9896 GB, free: 8.91 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.002468/0.9463, allocations: 1.619 MB / 0.9912 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9463, allocations: 7.094 kB / 0.9912 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.9465, allocations: 160.8 kB / 0.9914 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.9485, allocations: 322.9 kB / 0.9917 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.9504, allocations: 0.9069 MB / 0.9926 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/0.9505, allocations: 77.62 kB / 0.9926 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.9507, allocations: 102.9 kB / 0.9927 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.9527, allocations: 1.078 MB / 0.9938 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.9527, allocations: 0 / 0.9938 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.9529, allocations: 44.66 kB / 0.9938 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.9529, allocations: 38.8 kB / 0.9939 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.9547, allocations: 0.9942 MB / 0.9948 GB, free: 5.594 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.006265/0.961, allocations: 4.199 MB / 0.9989 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.9618, allocations: 0.5936 MB / 0.9995 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.9623, allocations: 347.9 kB / 0.9998 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.9625, allocations: 104.5 kB / 0.9999 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.9625, allocations: 44.03 kB / 1 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.9625, allocations: 0 / 1 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003945/0.9665, allocations: 2.196 MB / 1.002 GB, free: 164 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.9665, allocations: 64.44 kB / 1.002 GB, free: 92 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.9677, allocations: 0.876 MB / 1.003 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.9677, allocations: 36.05 kB / 1.003 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.9681, allocations: 0.5148 MB / 1.004 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.9683, allocations: 203.3 kB / 1.004 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.9685, allocations: 132.5 kB / 1.004 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9686, allocations: 332.8 kB / 1.004 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.9691, allocations: 289.5 kB / 1.004 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.9697, allocations: 447.7 kB / 1.005 GB, free: 14.07 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.003705/0.9734, allocations: 1.736 MB / 1.007 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.9734, allocations: 7.328 kB / 1.007 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001477/0.9749, allocations: 0.9215 MB / 1.008 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9749, allocations: 5.656 kB / 1.008 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.975, allocations: 8.281 kB / 1.008 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.9752, allocations: 100.4 kB / 1.008 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.9759, allocations: 165 kB / 1.008 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.9798, allocations: 4.635 MB / 1.012 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/0.9807, allocations: 28.05 kB / 1.012 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.9808, allocations: 23.88 kB / 1.012 GB, free: 7.875 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.0006858/0.9815, allocations: 353.1 kB / 1.013 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.9817, allocations: 101.2 kB / 1.013 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.982, allocations: 107.3 kB / 1.013 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.982, allocations: 11.19 kB / 1.013 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.982, allocations: 0 / 1.013 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.9831, allocations: 0.7585 MB / 1.014 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.9863, allocations: 1.989 MB / 1.016 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9863, allocations: 4.781 kB / 1.016 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.987, allocations: 143 kB / 1.016 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.9871, allocations: 49.58 kB / 1.016 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.9871, allocations: 15.56 kB / 1.016 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.9883, allocations: 1.613 MB / 1.017 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.9883, allocations: 2.938 kB / 1.017 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.99, allocations: 1.23 MB / 1.019 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.9906, allocations: 258.6 kB / 1.019 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.9908, allocations: 15.5 kB / 1.019 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.9915, allocations: 37.72 kB / 1.019 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9917, allocations: 52.22 kB / 1.019 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.9917, allocations: 32.02 kB / 1.019 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007896/0.9925, allocations: 0.608 MB / 1.02 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9925, allocations: 0 / 1.02 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009603/0.9935, allocations: 299.6 kB / 1.02 GB, free: 2.551 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.002132/0.9956, allocations: 1.861 MB / 1.022 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.9971, allocations: 1.013 MB / 1.023 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9971, allocations: 2.531 kB / 1.023 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.9977, allocations: 451 kB / 1.023 GB, free: 268 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1, allocations: 0.6435 MB / 1.024 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.011, allocations: 7.892 MB / 1.031 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/1.012, allocations: 1.166 MB / 1.033 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009776/1.013, allocations: 252.3 kB / 1.033 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/1.013, allocations: 375.3 kB / 1.033 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.013, allocations: 4 kB / 1.033 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06288/1.076, allocations: 30.25 MB / 1.063 GB, free: 9.629 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.1, allocations: 15.28 kB / 1.063 GB, free: 9.621 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)