Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.000837/0.000837, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004739/0.004739, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.148/1.148, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.605/1.605, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004753/0.0004753, allocations: 21.5 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1762, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5343/0.7105, allocations: 185.7 MB / 0.9694 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007313/0.7179, allocations: 5.652 MB / 0.9749 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.7187, allocations: 34.75 kB / 0.9749 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.7198, allocations: 0.4902 MB / 0.9754 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.7228, allocations: 1.507 MB / 0.9769 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.7252, allocations: 1.085 MB / 0.9779 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.7283, allocations: 3.504 MB / 0.9814 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.7294, allocations: 0.8653 MB / 0.9822 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.7307, allocations: 0.8696 MB / 0.9831 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.732, allocations: 0.8422 MB / 0.9839 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.7321, allocations: 43.94 kB / 0.9839 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.7346, allocations: 1.719 MB / 0.9856 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.7349, allocations: 431.8 kB / 0.986 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.7355, allocations: 0.5808 MB / 0.9866 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.7376, allocations: 2.158 MB / 0.9887 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7376, allocations: 4 kB / 0.9887 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7376, allocations: 0 / 0.9887 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.7376, allocations: 0 / 0.9887 GB, free: 10.22 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001849/0.7395, allocations: 1.28 MB / 0.9899 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7395, allocations: 8.719 kB / 0.99 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.7397, allocations: 145.8 kB / 0.9901 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.7424, allocations: 498.8 kB / 0.9906 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.7436, allocations: 0.8158 MB / 0.9914 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.744, allocations: 134.7 kB / 0.9915 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.7441, allocations: 90.62 kB / 0.9916 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7461, allocations: 1.201 MB / 0.9928 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.7461, allocations: 3.438 kB / 0.9928 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/0.7462, allocations: 35.75 kB / 0.9928 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.7463, allocations: 42.36 kB / 0.9928 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.7485, allocations: 1.1 MB / 0.9939 GB, free: 6.98 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.006036/0.7545, allocations: 4.373 MB / 0.9982 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.7564, allocations: 0.7941 MB / 0.999 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/0.7573, allocations: 422.2 kB / 0.9994 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.7575, allocations: 104.4 kB / 0.9995 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7575, allocations: 39.25 kB / 0.9995 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.7575, allocations: 0 / 0.9995 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00534/0.7629, allocations: 2.291 MB / 1.002 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.7629, allocations: 60.47 kB / 1.002 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.7638, allocations: 0.872 MB / 1.003 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.7638, allocations: 39.48 kB / 1.003 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.7641, allocations: 494.5 kB / 1.003 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.7643, allocations: 154.3 kB / 1.003 GB, free: 416 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.7644, allocations: 57.12 kB / 1.003 GB, free: 372 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.7645, allocations: 327.4 kB / 1.004 GB, free: 44 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009224/0.7654, allocations: 395.3 kB / 1.004 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/0.7664, allocations: 0.5381 MB / 1.005 GB, free: 15.5 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.005779/0.7722, allocations: 2.367 MB / 1.007 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7722, allocations: 2.844 kB / 1.007 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00213/0.7743, allocations: 1.03 MB / 1.008 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7744, allocations: 5.844 kB / 1.008 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7744, allocations: 5.812 kB / 1.008 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7744, allocations: 5.094 kB / 1.008 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.7753, allocations: 211.1 kB / 1.008 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7753, allocations: 11.47 kB / 1.008 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7763, allocations: 108.2 kB / 1.008 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.7764, allocations: 30.86 kB / 1.008 GB, free: 13.64 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.7768, allocations: 315.4 kB / 1.009 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7769, allocations: 93.31 kB / 1.009 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.7771, allocations: 107.7 kB / 1.009 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7771, allocations: 4.594 kB / 1.009 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7772, allocations: 7.094 kB / 1.009 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/0.779, allocations: 1.068 MB / 1.01 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.7832, allocations: 2.204 MB / 1.012 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7832, allocations: 2.625 kB / 1.012 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.7841, allocations: 188.7 kB / 1.012 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7841, allocations: 4.906 kB / 1.012 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.7841, allocations: 20.7 kB / 1.012 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.7841, allocations: 16.97 kB / 1.012 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7842, allocations: 2.906 kB / 1.012 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.787, allocations: 1.506 MB / 1.014 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.7874, allocations: 251 kB / 1.014 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.7875, allocations: 13.45 kB / 1.014 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.7884, allocations: 113.9 kB / 1.014 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.7885, allocations: 43.52 kB / 1.014 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.7886, allocations: 27.52 kB / 1.014 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006151/0.7892, allocations: 0.6019 MB / 1.015 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7892, allocations: 0 / 1.015 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006862/0.7899, allocations: 269.9 kB / 1.015 GB, free: 9.477 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003444/0.7934, allocations: 2.16 MB / 1.017 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.7953, allocations: 0.8576 MB / 1.018 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7953, allocations: 0 / 1.018 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.7962, allocations: 417.6 kB / 1.018 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.7989, allocations: 0.5582 MB / 1.019 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.8128, allocations: 9.02 MB / 1.028 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.8134, allocations: 1.106 MB / 1.029 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008779/0.8143, allocations: 259.8 kB / 1.029 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.8148, allocations: 343.3 kB / 1.029 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of SimCode: time 3.4e-07/0.8148, allocations: 4 kB / 1.029 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.679/3.493, allocations: 27.38 MB / 1.056 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/3.494, allocations: 302.3 kB / 1.056 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/5.744, allocations: 0 / 1.056 GB, free: 2.949 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)