Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.0009135/0.0009133, 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.001421/0.001421, 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.537/2.537, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8916, allocations: 146.8 MB / 0.9811 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2059/1.098, allocations: 173.4 MB / 1.15 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008735/1.106, allocations: 5.404 MB / 1.156 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.108, allocations: 31.81 kB / 1.156 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/1.109, allocations: 397.5 kB / 1.156 GB, free: 2.465 MB / 0.9044 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.003336/1.112, allocations: 1.225 MB / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/1.115, allocations: 0.8936 MB / 1.158 GB, free: 360 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003581/1.119, allocations: 2.99 MB / 1.161 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.12, allocations: 0.646 MB / 1.162 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/1.122, allocations: 0.8713 MB / 1.163 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/1.123, allocations: 0.7627 MB / 1.163 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.123, allocations: 40 kB / 1.163 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/1.125, allocations: 0.9198 MB / 1.164 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/1.125, allocations: 343 kB / 1.165 GB, free: 9.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/1.126, allocations: 237.1 kB / 1.165 GB, free: 9.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/1.127, allocations: 1.395 MB / 1.166 GB, free: 8.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.127, allocations: 4 kB / 1.166 GB, free: 8.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.127, allocations: 0 / 1.166 GB, free: 8.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.559e-05/1.127, allocations: 0 / 1.166 GB, free: 8.117 MB / 0.92 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.002039/1.129, allocations: 1.235 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.13, allocations: 19.97 kB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/1.13, allocations: 126.6 kB / 1.168 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/1.132, allocations: 442.3 kB / 1.168 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.134, allocations: 0.7303 MB / 1.169 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/1.134, allocations: 133.9 kB / 1.169 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.134, allocations: 75.95 kB / 1.169 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.136, allocations: 0.9945 MB / 1.17 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.136, allocations: 11.94 kB / 1.17 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/1.136, allocations: 32 kB / 1.17 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/1.136, allocations: 26 kB / 1.17 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.138, allocations: 0.9057 MB / 1.171 GB, free: 3.281 MB / 0.92 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.005786/1.144, allocations: 3.544 MB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.145, allocations: 0.6515 MB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/1.146, allocations: 353.3 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.146, allocations: 101.4 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.146, allocations: 39.22 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.093e-06/1.146, allocations: 0 / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.007711/1.154, allocations: 2.526 MB / 1.178 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.154, allocations: 59.41 kB / 1.178 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/1.155, allocations: 0.7939 MB / 1.179 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/1.155, allocations: 37.7 kB / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/1.156, allocations: 447.7 kB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/1.156, allocations: 145.9 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/1.156, allocations: 8 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.156, allocations: 326 kB / 1.18 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/1.157, allocations: 320.9 kB / 1.18 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/1.157, allocations: 428.1 kB / 1.18 GB, free: 9.172 MB / 0.9356 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.00361/1.161, allocations: 1.315 MB / 1.182 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.161, allocations: 4 kB / 1.182 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003014/1.164, allocations: 1.081 MB / 1.183 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.164, allocations: 8 kB / 1.183 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.164, allocations: 4 kB / 1.183 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/1.165, allocations: 200.7 kB / 1.183 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/1.165, allocations: 155.8 kB / 1.183 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/1.169, allocations: 2.109 MB / 1.185 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.17, allocations: 98.02 kB / 1.185 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/1.17, allocations: 24 kB / 1.185 GB, free: 4.023 MB / 0.9356 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.0005209/1.171, allocations: 267.2 kB / 1.185 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/1.171, allocations: 94.92 kB / 1.186 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/1.171, allocations: 104.2 kB / 1.186 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.171, allocations: 8 kB / 1.186 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.171, allocations: 0 / 1.186 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/1.174, allocations: 0.9456 MB / 1.187 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/1.179, allocations: 2.184 MB / 1.189 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.179, allocations: 4 kB / 1.189 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/1.18, allocations: 147.8 kB / 1.189 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/1.18, allocations: 184.7 kB / 1.189 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/1.18, allocations: 19.94 kB / 1.189 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/1.184, allocations: 2.061 MB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.184, allocations: 4 kB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.187, allocations: 1.486 MB / 1.193 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/1.188, allocations: 240 kB / 1.193 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.188, allocations: 12 kB / 1.193 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/1.189, allocations: 92.42 kB / 1.193 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/1.189, allocations: 43.84 kB / 1.193 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/1.189, allocations: 31.97 kB / 1.193 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000778/1.19, allocations: 0.5459 MB / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.19, allocations: 0 / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001017/1.191, allocations: 276 kB / 1.194 GB, free: 10.94 MB / 0.9512 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.004302/1.195, allocations: 2.127 MB / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.197, allocations: 0.8291 MB / 1.197 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.197, allocations: 4 kB / 1.197 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/1.198, allocations: 483.5 kB / 1.197 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.201, allocations: 0.5256 MB / 1.198 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.214, allocations: 5.901 MB / 1.203 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/1.215, allocations: 1.044 MB / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001082/1.216, allocations: 203.2 kB / 1.205 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/1.217, allocations: 311.3 kB / 1.205 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.217, allocations: 4 kB / 1.205 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/1.266, allocations: 26.99 MB / 1.231 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/1.266, allocations: 313.3 kB / 1.232 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.736, allocations: 0 / 1.232 GB, free: 4.375 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat