Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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.00116/0.00116, allocations: 99.39 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.001257/0.001257, 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 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7364, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.199/0.9355, allocations: 158.2 MB / 1.108 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.9459, allocations: 5.631 MB / 1.114 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.9473, allocations: 35.75 kB / 1.114 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.949, allocations: 0.5599 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.9546, allocations: 1.663 MB / 1.116 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.9586, allocations: 1.189 MB / 1.117 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002995/0.9616, allocations: 1.491 MB / 1.118 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.9629, allocations: 0.7536 MB / 1.119 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.9645, allocations: 0.7514 MB / 1.12 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.9653, allocations: 0.5408 MB / 1.12 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.9654, allocations: 44 kB / 1.12 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.968, allocations: 0.9048 MB / 1.121 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.9685, allocations: 403 kB / 1.122 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.9689, allocations: 257.1 kB / 1.122 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.9712, allocations: 1.481 MB / 1.123 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9712, allocations: 0 / 1.123 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9712, allocations: 0 / 1.123 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.9712, allocations: 4 kB / 1.123 GB, free: 1.82 MB / 0.8731 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.002776/0.974, allocations: 1.293 MB / 1.125 GB, free: 488 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.9741, allocations: 12.03 kB / 1.125 GB, free: 476 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.9744, allocations: 143.3 kB / 1.125 GB, free: 324 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.9776, allocations: 0.4904 MB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.9795, allocations: 0.7917 MB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.9799, allocations: 133.9 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.9801, allocations: 87.94 kB / 1.126 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.9825, allocations: 1.187 MB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.9825, allocations: 0 / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.9826, allocations: 43.88 kB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/0.9827, allocations: 41.98 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.9852, allocations: 1.105 MB / 1.129 GB, free: 12.38 MB / 0.8887 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.007949/0.9931, allocations: 4.374 MB / 1.133 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.9953, allocations: 0.7951 MB / 1.134 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.9954, allocations: 8 kB / 1.134 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.9954, allocations: 50.52 kB / 1.134 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.9955, allocations: 0 / 1.134 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.006388/1.002, allocations: 2.291 MB / 1.136 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.002, allocations: 55.41 kB / 1.136 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.003, allocations: 0.8569 MB / 1.137 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/1.003, allocations: 37.7 kB / 1.137 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/1.004, allocations: 499.3 kB / 1.137 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.004, allocations: 169.6 kB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/1.004, allocations: 12 kB / 1.138 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002947/1.004, allocations: 326 kB / 1.138 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009714/1.005, allocations: 389 kB / 1.138 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.006, allocations: 0.5131 MB / 1.139 GB, free: 1.602 MB / 0.8887 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.004643/1.011, allocations: 1.56 MB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.011, allocations: 4 kB / 1.14 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002605/1.014, allocations: 1.029 MB / 1.141 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.014, allocations: 4 kB / 1.141 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.014, allocations: 4 kB / 1.141 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.014, allocations: 8 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/1.015, allocations: 215.8 kB / 1.141 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.015, allocations: 11.94 kB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.016, allocations: 109.6 kB / 1.142 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/1.016, allocations: 27.98 kB / 1.142 GB, free: 14.61 MB / 0.9044 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.0005458/1.016, allocations: 309.5 kB / 1.142 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.017, allocations: 98.83 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/1.017, allocations: 112.6 kB / 1.142 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.017, allocations: 8 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.017, allocations: 0 / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/1.019, allocations: 1.065 MB / 1.143 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/1.024, allocations: 2.206 MB / 1.145 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.024, allocations: 4 kB / 1.145 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009257/1.025, allocations: 184.2 kB / 1.146 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/1.025, allocations: 11.94 kB / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/1.025, allocations: 19.98 kB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.025, allocations: 7.953 kB / 1.146 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.025, allocations: 4 kB / 1.146 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/1.029, allocations: 1.622 MB / 1.147 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/1.029, allocations: 255.9 kB / 1.147 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.029, allocations: 15.95 kB / 1.147 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.03, allocations: 110.2 kB / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.031, allocations: 35.91 kB / 1.148 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/1.031, allocations: 35.97 kB / 1.148 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001129/1.032, allocations: 0.5966 MB / 1.148 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 0 / 1.148 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00125/1.033, allocations: 268 kB / 1.148 GB, free: 7.328 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.005152/1.038, allocations: 3.174 MB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002354/1.041, allocations: 0.8503 MB / 1.152 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.041, allocations: 4 kB / 1.152 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.042, allocations: 417 kB / 1.153 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.045, allocations: 0.5566 MB / 1.153 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.059, allocations: 8.806 MB / 1.162 GB, free: 9.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/1.06, allocations: 1.13 MB / 1.163 GB, free: 7.996 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001272/1.061, allocations: 259.8 kB / 1.163 GB, free: 7.738 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/1.062, allocations: 347.3 kB / 1.164 GB, free: 7.398 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.062, allocations: 0 / 1.164 GB, free: 7.398 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/1.12, allocations: 28.12 MB / 1.191 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/1.12, allocations: 288.1 kB / 1.191 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.518, allocations: 0 / 1.191 GB, free: 11.41 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat