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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.406/2.406, allocations: 390.3 MB / 402.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 176.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009154, allocations: 103.1 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.043e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2918, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.566, allocations: 1.92 GB / 3.139 GB, free: 338.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/5.566, allocations: 86.39 kB / 3.139 GB, free: 338.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/7.215, allocations: 466 MB / 3.594 GB, free: 313.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.423e-06/7.216, allocations: 0 / 3.594 GB, free: 313.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001024/7.216, allocations: 26.62 kB / 3.594 GB, free: 313.2 MB / 1.167 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.003144/7.219, allocations: 1.253 MB / 3.595 GB, free: 312.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/7.219, allocations: 11.62 kB / 3.595 GB, free: 312.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/7.219, allocations: 139.4 kB / 3.595 GB, free: 312.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/7.221, allocations: 310.6 kB / 3.596 GB, free: 312.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/7.223, allocations: 0.8459 MB / 3.596 GB, free: 311.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/7.223, allocations: 58.94 kB / 3.597 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/7.223, allocations: 89.58 kB / 3.597 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/7.225, allocations: 0.9534 MB / 3.598 GB, free: 311.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/7.225, allocations: 2.875 kB / 3.598 GB, free: 311.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/7.225, allocations: 38 kB / 3.598 GB, free: 311.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/7.225, allocations: 28.97 kB / 3.598 GB, free: 311.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/7.226, allocations: 0.7596 MB / 3.598 GB, free: 311.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004629/7.23, allocations: 3.47 MB / 3.602 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/7.231, allocations: 459.1 kB / 3.602 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/7.231, allocations: 262.3 kB / 3.602 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/7.232, allocations: 104.9 kB / 3.603 GB, free: 308.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/7.232, allocations: 46.28 kB / 3.603 GB, free: 308.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 3.356e-06/7.232, allocations: 0 / 3.603 GB, free: 308.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.002676/7.234, allocations: 1.413 MB / 3.604 GB, free: 307.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/7.234, allocations: 55.69 kB / 3.604 GB, free: 307.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/7.235, allocations: 0.7005 MB / 3.605 GB, free: 307.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/7.235, allocations: 47.12 kB / 3.605 GB, free: 307.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/7.235, allocations: 479.4 kB / 3.605 GB, free: 307.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/7.236, allocations: 168.9 kB / 3.605 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/7.236, allocations: 14.75 kB / 3.605 GB, free: 306.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/7.236, allocations: 326.6 kB / 3.606 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/7.236, allocations: 215.7 kB / 3.606 GB, free: 306.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/7.236, allocations: 333.2 kB / 3.606 GB, free: 306.3 MB / 1.167 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.002499/7.239, allocations: 0.9592 MB / 3.607 GB, free: 306 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/7.239, allocations: 0 / 3.607 GB, free: 306 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001127/7.24, allocations: 0.7541 MB / 3.608 GB, free: 305.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/7.24, allocations: 7.297 kB / 3.608 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/7.24, allocations: 3.344 kB / 3.608 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/7.24, allocations: 89.83 kB / 3.608 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/7.241, allocations: 127.7 kB / 3.608 GB, free: 305.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/7.243, allocations: 2.95 MB / 3.611 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/7.244, allocations: 61.69 kB / 3.611 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/7.244, allocations: 25.25 kB / 3.611 GB, free: 302.9 MB / 1.167 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 () * 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.0001686/7.244, allocations: 144.5 kB / 3.611 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/7.244, allocations: 98.42 kB / 3.611 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/7.245, allocations: 97.86 kB / 3.611 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/7.245, allocations: 6.031 kB / 3.611 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/7.245, allocations: 0 / 3.611 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008901/7.246, allocations: 0.8105 MB / 3.612 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/7.248, allocations: 1.722 MB / 3.614 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.248, allocations: 3.156 kB / 3.614 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/7.248, allocations: 110.9 kB / 3.614 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/7.249, allocations: 67.98 kB / 3.614 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/7.249, allocations: 7.906 kB / 3.614 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/7.25, allocations: 1.603 MB / 3.616 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/7.25, allocations: 7.062 kB / 3.616 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/7.251, allocations: 1.145 MB / 3.617 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/7.251, allocations: 235.4 kB / 3.617 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/7.251, allocations: 11.97 kB / 3.617 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/7.252, allocations: 65.34 kB / 3.617 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/7.252, allocations: 41.61 kB / 3.617 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/7.252, allocations: 26.8 kB / 3.617 GB, free: 298.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005905/7.253, allocations: 0.5496 MB / 3.618 GB, free: 298.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.292e-06/7.253, allocations: 3.469 kB / 3.618 GB, free: 298.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001327/7.254, allocations: 402.9 kB / 3.618 GB, free: 298.4 MB / 1.167 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 () * 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.003216/7.258, allocations: 3.755 MB / 3.622 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001027/7.259, allocations: 0.7343 MB / 3.622 GB, free: 295.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/7.259, allocations: 0 / 3.622 GB, free: 295.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/7.259, allocations: 379.7 kB / 3.623 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/7.261, allocations: 0.5785 MB / 3.623 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/7.264, allocations: 1.593 MB / 3.625 GB, free: 294.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/7.265, allocations: 1.103 MB / 3.626 GB, free: 293.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008439/7.266, allocations: 214 kB / 3.626 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/7.266, allocations: 344.1 kB / 3.627 GB, free: 293.4 MB / 1.167 GB Notification: Performance of SimCode: time 5.01e-07/7.266, allocations: 0 / 3.627 GB, free: 293.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07933/7.345, allocations: 49.76 MB / 3.675 GB, free: 256.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/7.346, allocations: 241.5 kB / 3.675 GB, free: 255.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/11, allocations: 7.938 kB / 3.675 GB, free: 255.9 MB / 1.167 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) 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