Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.0008318/0.0008318, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009706/0.0009704, allocations: 172.7 kB / 15.95 MB, free: 208 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.426 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.435/2.435, allocations: 390.4 MB / 0.6655 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 8 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8625, allocations: 142.3 MB / 0.9538 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2053/1.068, allocations: 173.4 MB / 1.123 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.079, allocations: 5.412 MB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/1.081, allocations: 35.75 kB / 1.129 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/1.083, allocations: 393.5 kB / 1.129 GB, free: 12.51 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00512/1.089, allocations: 1.221 MB / 1.13 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/1.092, allocations: 0.897 MB / 1.131 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004446/1.096, allocations: 2.982 MB / 1.134 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.098, allocations: 0.6616 MB / 1.135 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/1.1, allocations: 0.8558 MB / 1.135 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/1.101, allocations: 0.7743 MB / 1.136 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/1.101, allocations: 40 kB / 1.136 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/1.104, allocations: 0.9159 MB / 1.137 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/1.104, allocations: 338.9 kB / 1.137 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/1.105, allocations: 237.2 kB / 1.138 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/1.107, allocations: 1.399 MB / 1.139 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.107, allocations: 4 kB / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.214e-06/1.107, allocations: 0 / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.107, allocations: 0 / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002265/1.109, allocations: 1.243 MB / 1.14 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.109, allocations: 12.03 kB / 1.14 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/1.11, allocations: 130.5 kB / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/1.112, allocations: 434.3 kB / 1.141 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.113, allocations: 0.7383 MB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/1.114, allocations: 121.9 kB / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.114, allocations: 75.98 kB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.116, allocations: 1.006 MB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.116, allocations: 7.938 kB / 1.143 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/1.116, allocations: 39.77 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/1.116, allocations: 29.94 kB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.118, allocations: 0.9056 MB / 1.144 GB, free: 13.32 MB / 0.9044 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.005906/1.124, allocations: 3.537 MB / 1.147 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.125, allocations: 0.6477 MB / 1.148 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/1.126, allocations: 346.6 kB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.126, allocations: 101.4 kB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.126, allocations: 43.22 kB / 1.148 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/1.126, allocations: 0 / 1.148 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=41): time 0.007527/1.134, allocations: 2.541 MB / 1.151 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.134, allocations: 55.41 kB / 1.151 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.135, allocations: 0.7939 MB / 1.151 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/1.135, allocations: 33.7 kB / 1.151 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.135, allocations: 447.8 kB / 1.152 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.135, allocations: 145.9 kB / 1.152 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/1.135, allocations: 8 kB / 1.152 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.136, allocations: 337.9 kB / 1.152 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/1.136, allocations: 312.9 kB / 1.153 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/1.137, allocations: 436 kB / 1.153 GB, free: 3.207 MB / 0.9044 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.00352/1.141, allocations: 1.311 MB / 1.154 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.141, allocations: 0 / 1.154 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00299/1.144, allocations: 1.085 MB / 1.155 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.144, allocations: 5.562 kB / 1.155 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.144, allocations: 4 kB / 1.155 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/1.144, allocations: 200.7 kB / 1.156 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/1.145, allocations: 163.8 kB / 1.156 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/1.148, allocations: 2.111 MB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.149, allocations: 91.77 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/1.15, allocations: 20 kB / 1.158 GB, free: 14.07 MB / 0.92 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: 12 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005078/1.15, allocations: 269.8 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.15, allocations: 90.97 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/1.15, allocations: 100.2 kB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.15, allocations: 12 kB / 1.158 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.15, allocations: 0 / 1.158 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00253/1.153, allocations: 0.9382 MB / 1.159 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/1.158, allocations: 2.168 MB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.158, allocations: 7.938 kB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/1.158, allocations: 148.2 kB / 1.162 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/1.159, allocations: 196.7 kB / 1.162 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/1.159, allocations: 12 kB / 1.162 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/1.162, allocations: 2.069 MB / 1.164 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.162, allocations: 12.14 kB / 1.164 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/1.166, allocations: 1.487 MB / 1.165 GB, free: 6.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.166, allocations: 240 kB / 1.165 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.166, allocations: 16 kB / 1.166 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/1.167, allocations: 95.88 kB / 1.166 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/1.167, allocations: 35.86 kB / 1.166 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/1.167, allocations: 31.97 kB / 1.166 GB, free: 5.801 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007283/1.168, allocations: 0.5459 MB / 1.166 GB, free: 5.258 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.168, allocations: 4 kB / 1.166 GB, free: 5.254 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00097/1.169, allocations: 276 kB / 1.166 GB, free: 4.984 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004181/1.173, allocations: 2.129 MB / 1.169 GB, free: 2.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.175, allocations: 0.8329 MB / 1.169 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.175, allocations: 4 kB / 1.169 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/1.176, allocations: 487.4 kB / 1.17 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.179, allocations: 0.5239 MB / 1.17 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.192, allocations: 5.887 MB / 1.176 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/1.192, allocations: 1.04 MB / 1.177 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001042/1.194, allocations: 207 kB / 1.177 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/1.194, allocations: 319.3 kB / 1.178 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/1.194, allocations: 4 kB / 1.178 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/1.249, allocations: 27 MB / 1.204 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/1.25, allocations: 308.2 kB / 1.204 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.534, allocations: 0 / 1.204 GB, free: 14.41 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat