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.001025/0.001025, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001158/0.001158, allocations: 177.3 kB / 15.94 MB, free: 228 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.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.641/1.641, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005603/0.0005604, allocations: 16.66 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6144/0.8884, allocations: 158.2 MB / 0.9417 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008573/0.897, allocations: 5.567 MB / 0.9472 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.8984, allocations: 29.97 kB / 0.9472 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.9001, allocations: 0.5574 MB / 0.9478 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.9055, allocations: 1.637 MB / 0.9494 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.9092, allocations: 1.182 MB / 0.9505 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.9119, allocations: 1.472 MB / 0.9519 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.9131, allocations: 0.7437 MB / 0.9527 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.9147, allocations: 0.753 MB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/0.9154, allocations: 0.5421 MB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.9156, allocations: 41.78 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.9179, allocations: 0.9102 MB / 0.9549 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.9184, allocations: 401 kB / 0.9552 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.919, allocations: 246.6 kB / 0.9555 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.9207, allocations: 1.479 MB / 0.9569 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.9207, allocations: 0 / 0.9569 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9207, allocations: 0 / 0.9569 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.9207, allocations: 0 / 0.9569 GB, free: 20.96 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.002126/0.9229, allocations: 1.297 MB / 0.9582 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9229, allocations: 8.562 kB / 0.9582 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.9231, allocations: 140.4 kB / 0.9583 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.926, allocations: 0.4895 MB / 0.9588 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9275, allocations: 0.7828 MB / 0.9596 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.9278, allocations: 134.7 kB / 0.9597 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.928, allocations: 84.97 kB / 0.9598 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.9301, allocations: 1.186 MB / 0.9609 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.9302, allocations: 2 kB / 0.9609 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.9303, allocations: 41.38 kB / 0.961 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.9303, allocations: 39.08 kB / 0.961 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.9326, allocations: 1.107 MB / 0.9621 GB, free: 19.62 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.00683/0.9394, allocations: 4.36 MB / 0.9664 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.9412, allocations: 0.7926 MB / 0.9671 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.9413, allocations: 16.22 kB / 0.9672 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.9413, allocations: 46.8 kB / 0.9672 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.9413, allocations: 0 / 0.9672 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005499/0.9468, allocations: 2.275 MB / 0.9694 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.9469, allocations: 55.97 kB / 0.9695 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.9478, allocations: 0.8561 MB / 0.9703 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.9479, allocations: 41.02 kB / 0.9703 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.9482, allocations: 494.7 kB / 0.9708 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.9483, allocations: 160.2 kB / 0.971 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.9484, allocations: 10.36 kB / 0.971 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9485, allocations: 330.3 kB / 0.9713 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009197/0.9494, allocations: 388.1 kB / 0.9717 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.9504, allocations: 0.5312 MB / 0.9722 GB, free: 16.16 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.003935/0.9543, allocations: 1.554 MB / 0.9737 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9543, allocations: 2.875 kB / 0.9737 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002232/0.9566, allocations: 1.026 MB / 0.9747 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9566, allocations: 6.125 kB / 0.9747 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9566, allocations: 4.875 kB / 0.9747 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.9566, allocations: 8.375 kB / 0.9747 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.9576, allocations: 214.4 kB / 0.9749 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9576, allocations: 5.688 kB / 0.9749 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.9588, allocations: 111.8 kB / 0.975 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.9589, allocations: 27.56 kB / 0.9751 GB, free: 15.46 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.9593, allocations: 309.2 kB / 0.9754 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.9595, allocations: 99.06 kB / 0.9755 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.9597, allocations: 111.7 kB / 0.9756 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9597, allocations: 7.75 kB / 0.9756 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.9597, allocations: 0 / 0.9756 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00185/0.9615, allocations: 1.064 MB / 0.9766 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.9659, allocations: 2.198 MB / 0.9788 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9659, allocations: 3 kB / 0.9788 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/0.9667, allocations: 189 kB / 0.9789 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.9668, allocations: 6.062 kB / 0.9789 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.9668, allocations: 15.02 kB / 0.979 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.9668, allocations: 9.703 kB / 0.979 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9668, allocations: 7.062 kB / 0.979 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.9697, allocations: 1.65 MB / 0.9806 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.9702, allocations: 254.6 kB / 0.9808 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.9704, allocations: 20.48 kB / 0.9809 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.9713, allocations: 114.3 kB / 0.981 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.9714, allocations: 42.16 kB / 0.981 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.9715, allocations: 30.98 kB / 0.981 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006528/0.9722, allocations: 0.5941 MB / 0.9816 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9722, allocations: 0 / 0.9816 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008788/0.973, allocations: 263.2 kB / 0.9819 GB, free: 12.5 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00401/0.9771, allocations: 3.205 MB / 0.985 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.9792, allocations: 0.8487 MB / 0.9858 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9792, allocations: 2.031 kB / 0.9858 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.9802, allocations: 417.5 kB / 0.9862 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.9826, allocations: 0.5522 MB / 0.9868 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.9943, allocations: 8.752 MB / 0.9953 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.9949, allocations: 1.132 MB / 0.9964 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009552/0.9959, allocations: 255.7 kB / 0.9967 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.9963, allocations: 352.5 kB / 0.997 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.9963, allocations: 0 / 0.997 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/1.048, allocations: 28.09 MB / 1.024 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.049, allocations: 279.1 kB / 1.025 GB, free: 13 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.764, allocations: 0 / 1.025 GB, free: 13 MB / 0.7637 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/linux/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) Environment - environmentSimulation: