Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0009117/0.0009117, allocations: 99.62 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.0008973/0.0008972, allocations: 177.3 kB / 15.95 MB, free: 216 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.515/1.515, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.604/2.604, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9082, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2101/1.118, allocations: 158.3 MB / 1.135 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01156/1.13, allocations: 5.658 MB / 1.141 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/1.132, allocations: 35.75 kB / 1.141 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002383/1.134, allocations: 0.5716 MB / 1.142 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006691/1.141, allocations: 1.675 MB / 1.143 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/1.145, allocations: 1.189 MB / 1.144 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00397/1.149, allocations: 1.691 MB / 1.146 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/1.151, allocations: 0.7219 MB / 1.147 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/1.153, allocations: 0.7747 MB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/1.154, allocations: 0.572 MB / 1.148 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/1.154, allocations: 40 kB / 1.148 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/1.156, allocations: 0.6201 MB / 1.149 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/1.157, allocations: 355 kB / 1.149 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/1.157, allocations: 261.1 kB / 1.149 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/1.159, allocations: 1.387 MB / 1.151 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.159, allocations: 0 / 1.151 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.657e-06/1.159, allocations: 0 / 1.151 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.159, allocations: 0 / 1.151 GB, free: 7.996 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002725/1.162, allocations: 1.281 MB / 1.152 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.162, allocations: 8.031 kB / 1.152 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/1.162, allocations: 147.2 kB / 1.152 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/1.164, allocations: 318.3 kB / 1.152 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.166, allocations: 0.7817 MB / 1.153 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/1.166, allocations: 62 kB / 1.153 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.166, allocations: 83.95 kB / 1.153 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.168, allocations: 0.9053 MB / 1.154 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.168, allocations: 0 / 1.154 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.168, allocations: 40 kB / 1.154 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/1.168, allocations: 33.98 kB / 1.154 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.17, allocations: 0.8275 MB / 1.155 GB, free: 3.41 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.00598/1.176, allocations: 3.545 MB / 1.158 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/1.176, allocations: 0.4887 MB / 1.159 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/1.176, allocations: 20.41 kB / 1.159 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/1.176, allocations: 39 kB / 1.159 GB, free: 15.08 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.566e-06/1.176, allocations: 4 kB / 1.159 GB, free: 15.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004316/1.181, allocations: 1.939 MB / 1.161 GB, free: 13.04 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.181, allocations: 63.73 kB / 1.161 GB, free: 12.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.182, allocations: 0.7942 MB / 1.162 GB, free: 12.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/1.182, allocations: 41.64 kB / 1.162 GB, free: 12.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.182, allocations: 479.3 kB / 1.162 GB, free: 11.64 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/1.183, allocations: 173.5 kB / 1.162 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.183, allocations: 12 kB / 1.162 GB, free: 11.46 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.183, allocations: 334 kB / 1.163 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/1.183, allocations: 241.2 kB / 1.163 GB, free: 10.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/1.184, allocations: 353.2 kB / 1.163 GB, free: 10.51 MB / 0.92 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.002845/1.187, allocations: 1.01 MB / 1.164 GB, free: 9.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.187, allocations: 0 / 1.164 GB, free: 9.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001476/1.188, allocations: 0.7884 MB / 1.165 GB, free: 8.684 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.188, allocations: 4 kB / 1.165 GB, free: 8.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.188, allocations: 4 kB / 1.165 GB, free: 8.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/1.188, allocations: 106 kB / 1.165 GB, free: 8.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/1.189, allocations: 151.8 kB / 1.165 GB, free: 8.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/1.193, allocations: 3.104 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.194, allocations: 56.25 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/1.194, allocations: 31.98 kB / 1.168 GB, free: 4.969 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006165/1.194, allocations: 297.6 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.195, allocations: 90.97 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/1.195, allocations: 100.7 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.195, allocations: 11.94 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.195, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/1.196, allocations: 0.8505 MB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/1.199, allocations: 1.814 MB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.199, allocations: 0 / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/1.2, allocations: 144.2 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/1.2, allocations: 64.81 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.2, allocations: 15.98 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/1.202, allocations: 1.668 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.202, allocations: 11.94 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.203, allocations: 1.238 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/1.204, allocations: 232 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.204, allocations: 23.94 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/1.205, allocations: 63.86 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.205, allocations: 47.89 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/1.205, allocations: 27.98 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007882/1.206, allocations: 0.5497 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.206, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001025/1.207, allocations: 284 kB / 1.176 GB, free: 12.96 MB / 0.9356 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 (45): * Single equations (assignments): 44 * 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.002665/1.21, allocations: 2.765 MB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001403/1.211, allocations: 0.8037 MB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.211, allocations: 4 kB / 1.179 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/1.212, allocations: 419.8 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.214, allocations: 0.5763 MB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009409/1.224, allocations: 7.043 MB / 1.187 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/1.225, allocations: 1.103 MB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001088/1.226, allocations: 211.7 kB / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/1.226, allocations: 339.3 kB / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/1.226, allocations: 0 / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/1.281, allocations: 27.29 MB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.282, allocations: 270.8 kB / 1.216 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.289, allocations: 0 / 1.216 GB, free: 4.137 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat