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.001162/0.001162, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009982/0.0009982, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.242/1.242, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.68/1.68, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001347/0.001348, allocations: 73.66 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1863, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5401/0.7264, allocations: 188 MB / 0.9665 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007634/0.734, allocations: 5.614 MB / 0.972 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.7353, allocations: 34.16 kB / 0.9721 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.7366, allocations: 0.5048 MB / 0.9725 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.74, allocations: 1.504 MB / 0.974 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.7427, allocations: 1.091 MB / 0.9751 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.7453, allocations: 2.528 MB / 0.9775 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.7464, allocations: 1.007 MB / 0.9785 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.748, allocations: 1.043 MB / 0.9796 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.7496, allocations: 0.9115 MB / 0.9804 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.7497, allocations: 110.1 kB / 0.9805 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.7524, allocations: 1.621 MB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.7528, allocations: 0.502 MB / 0.9826 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.7534, allocations: 0.643 MB / 0.9832 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.7558, allocations: 2.239 MB / 0.9854 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7558, allocations: 0 / 0.9854 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7558, allocations: 2.625 kB / 0.9854 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7559, allocations: 0 / 0.9854 GB, free: 4.59 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.002183/0.758, allocations: 1.521 MB / 0.9869 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.7581, allocations: 11.31 kB / 0.9869 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.7583, allocations: 141.4 kB / 0.9871 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.761, allocations: 467 kB / 0.9875 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.7622, allocations: 0.8054 MB / 0.9883 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.7625, allocations: 123.9 kB / 0.9884 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.7627, allocations: 91.47 kB / 0.9885 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.7646, allocations: 1.178 MB / 0.9897 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.7647, allocations: 2.594 kB / 0.9897 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.7648, allocations: 36.12 kB / 0.9897 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.7648, allocations: 40.23 kB / 0.9897 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.7668, allocations: 1.072 MB / 0.9908 GB, free: 18.82 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.00557/0.7724, allocations: 4.35 MB / 0.995 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.7741, allocations: 0.7561 MB / 0.9958 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.7749, allocations: 411.5 kB / 0.9962 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.7751, allocations: 100.5 kB / 0.9963 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.7751, allocations: 43.91 kB / 0.9963 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.7751, allocations: 2.5 kB / 0.9963 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.004915/0.78, allocations: 2.205 MB / 0.9985 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.7801, allocations: 60.73 kB / 0.9985 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.7809, allocations: 0.8637 MB / 0.9994 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.7809, allocations: 36.2 kB / 0.9994 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.7812, allocations: 490.8 kB / 0.9999 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7813, allocations: 161.4 kB / 1 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.7815, allocations: 128 kB / 1 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.7816, allocations: 332.8 kB / 1 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/0.7824, allocations: 370.4 kB / 1.001 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.7833, allocations: 0.5101 MB / 1.001 GB, free: 12.98 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.005444/0.7888, allocations: 2.288 MB / 1.004 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7888, allocations: 0 / 1.004 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002006/0.7908, allocations: 0.9893 MB / 1.004 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7908, allocations: 9.375 kB / 1.005 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7908, allocations: 2.594 kB / 1.005 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7909, allocations: 12.56 kB / 1.005 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.7917, allocations: 198 kB / 1.005 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7918, allocations: 14.97 kB / 1.005 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7928, allocations: 97.55 kB / 1.005 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.7928, allocations: 28.66 kB / 1.005 GB, free: 11.79 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 (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.0004083/0.7933, allocations: 317.5 kB / 1.005 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.7934, allocations: 90.75 kB / 1.005 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.7936, allocations: 105.5 kB / 1.005 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7936, allocations: 4.844 kB / 1.005 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7936, allocations: 7.938 kB / 1.005 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001754/0.7954, allocations: 1.032 MB / 1.006 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.7994, allocations: 2.149 MB / 1.008 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.7994, allocations: 4.562 kB / 1.008 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.8003, allocations: 171.2 kB / 1.009 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.8003, allocations: 4.281 kB / 1.009 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.8003, allocations: 14.73 kB / 1.009 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.8003, allocations: 11.16 kB / 1.009 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8004, allocations: 8.812 kB / 1.009 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.8031, allocations: 1.456 MB / 1.01 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.8035, allocations: 249.1 kB / 1.01 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.8036, allocations: 19.98 kB / 1.01 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.8046, allocations: 104.8 kB / 1.01 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.8047, allocations: 42.89 kB / 1.01 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.8048, allocations: 28.58 kB / 1.011 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006503/0.8054, allocations: 0.6013 MB / 1.011 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8054, allocations: 0 / 1.011 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007727/0.8062, allocations: 262.6 kB / 1.011 GB, free: 8.059 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.003319/0.8095, allocations: 2.115 MB / 1.013 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.8115, allocations: 0.8951 MB / 1.014 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8115, allocations: 1.969 kB / 1.014 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.8124, allocations: 402 kB / 1.015 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.8147, allocations: 0.5772 MB / 1.015 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.8284, allocations: 8.821 MB / 1.024 GB, free: 32 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.829, allocations: 1.109 MB / 1.025 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009515/0.83, allocations: 261.8 kB / 1.025 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.8305, allocations: 352 kB / 1.026 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.8305, allocations: 0 / 1.026 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.554/2.384, allocations: 28.28 MB / 1.053 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004783/2.385, allocations: 307 kB / 1.053 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/5.478, allocations: 0 / 1.053 GB, free: 4.629 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)