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.001547/0.001548, allocations: 108 kB / 15.6 MB, free: 132 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.001838/0.001838, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.662/1.662, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001549/0.001549, allocations: 68.62 kB / 0.6716 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2353, allocations: 114.6 MB / 0.7835 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6127/0.848, allocations: 190.4 MB / 0.9694 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00888/0.857, allocations: 5.65 MB / 0.975 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.8592, allocations: 36.56 kB / 0.975 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.861, allocations: 0.5744 MB / 0.9756 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.8657, allocations: 1.815 MB / 0.9773 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.8685, allocations: 1.163 MB / 0.9785 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.8723, allocations: 2.926 MB / 0.9813 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.8738, allocations: 1.125 MB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.8757, allocations: 1.049 MB / 0.9834 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.8776, allocations: 0.9593 MB / 0.9844 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.8778, allocations: 123.6 kB / 0.9845 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.8809, allocations: 1.443 MB / 0.9859 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.8814, allocations: 0.567 MB / 0.9865 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008912/0.8823, allocations: 0.7205 MB / 0.9872 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.886, allocations: 2.306 MB / 0.9894 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.886, allocations: 3.562 kB / 0.9894 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8861, allocations: 4 kB / 0.9894 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.464e-05/0.8861, allocations: 0 / 0.9894 GB, free: 4.105 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.002844/0.8889, allocations: 1.619 MB / 0.991 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.889, allocations: 8.062 kB / 0.991 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.8892, allocations: 160.5 kB / 0.9912 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.8912, allocations: 322.9 kB / 0.9915 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.8925, allocations: 0.8569 MB / 0.9923 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.8925, allocations: 74.81 kB / 0.9924 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.8927, allocations: 99.94 kB / 0.9925 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.8944, allocations: 1.098 MB / 0.9935 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.8944, allocations: 1.844 kB / 0.9935 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.8945, allocations: 42.69 kB / 0.9936 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.8946, allocations: 38.62 kB / 0.9936 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.896, allocations: 0.9884 MB / 0.9946 GB, free: 17.69 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.005667/0.9017, allocations: 4.251 MB / 0.9987 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.9025, allocations: 0.5922 MB / 0.9993 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.903, allocations: 339.1 kB / 0.9996 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.9032, allocations: 108.9 kB / 0.9997 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.9032, allocations: 45.11 kB / 0.9998 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.9032, allocations: 0 / 0.9998 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.003855/0.9071, allocations: 2.196 MB / 1.002 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.9071, allocations: 60.62 kB / 1.002 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.9082, allocations: 0.8761 MB / 1.003 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.9083, allocations: 46.98 kB / 1.003 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.9087, allocations: 0.5148 MB / 1.003 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.9089, allocations: 194.5 kB / 1.004 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.9091, allocations: 130 kB / 1.004 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9092, allocations: 333.7 kB / 1.004 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.9096, allocations: 288.1 kB / 1.004 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.9102, allocations: 452.4 kB / 1.005 GB, free: 11.56 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.003734/0.914, allocations: 1.747 MB / 1.006 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.914, allocations: 3.406 kB / 1.006 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001549/0.9155, allocations: 0.926 MB / 1.007 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9156, allocations: 9.344 kB / 1.007 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9156, allocations: 9 kB / 1.007 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.9158, allocations: 100.2 kB / 1.007 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.9165, allocations: 160.6 kB / 1.008 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.9204, allocations: 4.638 MB / 1.012 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.9218, allocations: 36.73 kB / 1.012 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.9219, allocations: 26.94 kB / 1.012 GB, free: 5.746 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.0008443/0.9227, allocations: 345.9 kB / 1.013 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.923, allocations: 97.5 kB / 1.013 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.9232, allocations: 108.4 kB / 1.013 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9232, allocations: 5.875 kB / 1.013 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.9232, allocations: 0 / 1.013 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.9244, allocations: 0.7675 MB / 1.013 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.928, allocations: 1.983 MB / 1.015 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.928, allocations: 6.125 kB / 1.015 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.9287, allocations: 151.6 kB / 1.016 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.9289, allocations: 38.38 kB / 1.016 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.9289, allocations: 15.36 kB / 1.016 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.9302, allocations: 1.615 MB / 1.017 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.9303, allocations: 2.594 kB / 1.017 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.9322, allocations: 1.234 MB / 1.018 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.9327, allocations: 252.5 kB / 1.019 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.9329, allocations: 16.72 kB / 1.019 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.9337, allocations: 31.5 kB / 1.019 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.9338, allocations: 45.61 kB / 1.019 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.9339, allocations: 37.5 kB / 1.019 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007774/0.9347, allocations: 0.5999 MB / 1.019 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9347, allocations: 7.938 kB / 1.019 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000945/0.9356, allocations: 313.9 kB / 1.02 GB, free: 496 kB / 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.002245/0.9379, allocations: 1.869 MB / 1.021 GB, free: 15.14 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.9395, allocations: 1.107 MB / 1.023 GB, free: 14.48 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.9396, allocations: 4.156 kB / 1.023 GB, free: 14.48 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.9401, allocations: 454.2 kB / 1.023 GB, free: 14.22 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.943, allocations: 0.6426 MB / 1.024 GB, free: 13.89 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9546, allocations: 8.239 MB / 1.032 GB, free: 8.512 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.9554, allocations: 1.175 MB / 1.033 GB, free: 7.586 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001058/0.9564, allocations: 253.2 kB / 1.033 GB, free: 7.473 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.957, allocations: 380 kB / 1.033 GB, free: 7.164 MB / 0.7638 GB Notification: Performance of SimCode: time 6.71e-07/0.957, allocations: 2.531 kB / 1.033 GB, free: 7.164 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/1.016, allocations: 30.22 MB / 1.063 GB, free: 11.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.22, allocations: 4.297 kB / 1.063 GB, free: 11.46 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)