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.001069/0.001069, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00134/0.001341, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.776/1.776, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005804/0.0005805, allocations: 15.52 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2491, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6129/0.862, allocations: 173.3 MB / 0.9566 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007711/0.8698, allocations: 5.328 MB / 0.9618 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.871, allocations: 32.41 kB / 0.9618 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.8722, allocations: 399.1 kB / 0.9622 GB, free: 3.969 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003844/0.8761, allocations: 1.349 MB / 0.9635 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.879, allocations: 0.8405 MB / 0.9644 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.884, allocations: 3.419 MB / 0.9677 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.8854, allocations: 0.8 MB / 0.9685 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.8876, allocations: 0.8745 MB / 0.9693 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.8893, allocations: 0.9122 MB / 0.9702 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.8894, allocations: 46.59 kB / 0.9703 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.8918, allocations: 0.7099 MB / 0.971 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/0.8925, allocations: 498.6 kB / 0.9714 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.8931, allocations: 281.2 kB / 0.9717 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.8957, allocations: 1.624 MB / 0.9733 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.8957, allocations: 0 / 0.9733 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8957, allocations: 0 / 0.9733 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.8958, allocations: 5.375 kB / 0.9733 GB, free: 18.28 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.002773/0.8985, allocations: 1.375 MB / 0.9746 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8986, allocations: 10.58 kB / 0.9747 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.8988, allocations: 155.5 kB / 0.9748 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.9007, allocations: 336.9 kB / 0.9751 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.9021, allocations: 0.8382 MB / 0.9759 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.9021, allocations: 73.12 kB / 0.976 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.9023, allocations: 95.41 kB / 0.9761 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.904, allocations: 1.08 MB / 0.9772 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.904, allocations: 6.125 kB / 0.9772 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.9041, allocations: 45.16 kB / 0.9772 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.9042, allocations: 35.91 kB / 0.9772 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.9057, allocations: 1.004 MB / 0.9782 GB, free: 16.57 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.005703/0.9114, allocations: 4.238 MB / 0.9824 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.9122, allocations: 0.5974 MB / 0.9829 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.9126, allocations: 341.5 kB / 0.9833 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.9128, allocations: 105.8 kB / 0.9834 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9129, allocations: 46.52 kB / 0.9834 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/0.9129, allocations: 4 kB / 0.9834 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003969/0.9169, allocations: 2.217 MB / 0.9856 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9169, allocations: 59.64 kB / 0.9856 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.9179, allocations: 0.8643 MB / 0.9865 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.918, allocations: 40.98 kB / 0.9865 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.9184, allocations: 0.5116 MB / 0.987 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.9186, allocations: 196.2 kB / 0.9872 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.9186, allocations: 14.47 kB / 0.9872 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9187, allocations: 340.3 kB / 0.9876 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.9192, allocations: 281.6 kB / 0.9878 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.9197, allocations: 451.4 kB / 0.9883 GB, free: 11.39 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.002593/0.9223, allocations: 1.102 MB / 0.9893 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9223, allocations: 0 / 0.9893 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001382/0.9237, allocations: 0.923 MB / 0.9902 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9238, allocations: 9.969 kB / 0.9902 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9238, allocations: 10.42 kB / 0.9902 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.924, allocations: 94.2 kB / 0.9903 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.9247, allocations: 175.4 kB / 0.9905 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.9278, allocations: 4.287 MB / 0.9947 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.9288, allocations: 67.89 kB / 0.9948 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.9289, allocations: 32.7 kB / 0.9948 GB, free: 6.738 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.9295, allocations: 339.2 kB / 0.9951 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.9296, allocations: 102.9 kB / 0.9952 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.9298, allocations: 117.4 kB / 0.9953 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9299, allocations: 3.469 kB / 0.9953 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9299, allocations: 0 / 0.9953 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.9309, allocations: 0.7719 MB / 0.9961 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.934, allocations: 1.997 MB / 0.998 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.934, allocations: 2.938 kB / 0.998 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.9347, allocations: 157.5 kB / 0.9982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-05/0.9348, allocations: 43.06 kB / 0.9982 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.9349, allocations: 22.86 kB / 0.9982 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.9361, allocations: 1.489 MB / 0.9997 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9361, allocations: 9.875 kB / 0.9997 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.9378, allocations: 1.234 MB / 1.001 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.9383, allocations: 255.5 kB / 1.001 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.9385, allocations: 13.34 kB / 1.001 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.9392, allocations: 76.61 kB / 1.001 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.9394, allocations: 51.28 kB / 1.001 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.9394, allocations: 29.98 kB / 1.001 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007646/0.9402, allocations: 0.5989 MB / 1.002 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9402, allocations: 0 / 1.002 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001012/0.9412, allocations: 304 kB / 1.002 GB, free: 3.027 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002258/0.9435, allocations: 1.876 MB / 1.004 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.945, allocations: 1.007 MB / 1.005 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.945, allocations: 2.344 kB / 1.005 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.9456, allocations: 452.1 kB / 1.005 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.9485, allocations: 0.6206 MB / 1.006 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.959, allocations: 6.222 MB / 1.012 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.9599, allocations: 1.167 MB / 1.013 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001169/0.961, allocations: 250.8 kB / 1.014 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.9616, allocations: 377.5 kB / 1.014 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/0.9616, allocations: 0 / 1.014 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/1.012, allocations: 29.84 MB / 1.043 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.012, allocations: 282.7 kB / 1.043 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.572, allocations: 8 kB / 1.043 GB, free: 3.543 MB / 0.7637 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/linux/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) Environment - environmentSimulation: