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.567/2.567, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001397/0.001397, allocations: 176 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.844/1.844, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001177/0.001176, allocations: 97.34 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 6.938 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.12/5.435, allocations: 1.92 GB / 3.149 GB, free: 32.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/5.436, allocations: 88.77 kB / 3.149 GB, free: 32.75 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.671/7.107, allocations: 466.4 MB / 3.605 GB, free: 38.41 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.403e-06/7.107, allocations: 0 / 3.605 GB, free: 38.41 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.558e-05/7.107, allocations: 32 kB / 3.605 GB, free: 38.38 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.002737/7.11, allocations: 1.39 MB / 3.606 GB, free: 36.94 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/7.11, allocations: 12.03 kB / 3.606 GB, free: 36.93 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/7.11, allocations: 139.2 kB / 3.606 GB, free: 36.78 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/7.112, allocations: 310.3 kB / 3.607 GB, free: 36.48 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/7.113, allocations: 0.8517 MB / 3.608 GB, free: 35.58 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/7.113, allocations: 69.98 kB / 3.608 GB, free: 35.52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/7.113, allocations: 87.91 kB / 3.608 GB, free: 35.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/7.115, allocations: 0.976 MB / 3.609 GB, free: 34.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/7.115, allocations: 0 / 3.609 GB, free: 34.44 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/7.115, allocations: 43.94 kB / 3.609 GB, free: 34.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/7.115, allocations: 33.98 kB / 3.609 GB, free: 34.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/7.116, allocations: 0.8003 MB / 3.609 GB, free: 33.56 MB / 1.167 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.004868/7.121, allocations: 3.478 MB / 3.613 GB, free: 29.86 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/7.122, allocations: 485.3 kB / 3.613 GB, free: 29.38 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/7.122, allocations: 97.53 kB / 3.613 GB, free: 29.27 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/7.122, allocations: 46.95 kB / 3.613 GB, free: 29.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/7.122, allocations: 0 / 3.613 GB, free: 29.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003673/7.126, allocations: 1.877 MB / 3.615 GB, free: 27.24 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/7.126, allocations: 59.78 kB / 3.615 GB, free: 27.16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/7.127, allocations: 0.7074 MB / 3.616 GB, free: 26.45 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/7.127, allocations: 37.7 kB / 3.616 GB, free: 26.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/7.127, allocations: 475.3 kB / 3.617 GB, free: 25.94 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/7.127, allocations: 177.5 kB / 3.617 GB, free: 25.76 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/7.127, allocations: 12 kB / 3.617 GB, free: 25.75 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/7.127, allocations: 330 kB / 3.617 GB, free: 25.42 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/7.127, allocations: 233.2 kB / 3.617 GB, free: 25.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/7.128, allocations: 363 kB / 3.618 GB, free: 24.8 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.002678/7.131, allocations: 0.9901 MB / 3.619 GB, free: 23.79 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/7.131, allocations: 0 / 3.619 GB, free: 23.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001133/7.132, allocations: 0.7651 MB / 3.619 GB, free: 23.01 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/7.132, allocations: 13.2 kB / 3.619 GB, free: 23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/7.132, allocations: 0 / 3.619 GB, free: 23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/7.132, allocations: 89.88 kB / 3.619 GB, free: 22.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/7.133, allocations: 127.8 kB / 3.62 GB, free: 22.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/7.135, allocations: 2.993 MB / 3.622 GB, free: 19.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/7.136, allocations: 63.86 kB / 3.623 GB, free: 19.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/7.136, allocations: 20 kB / 3.623 GB, free: 19.45 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 () * 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.0006005/7.137, allocations: 297.7 kB / 3.623 GB, free: 19.14 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/7.137, allocations: 94.92 kB / 3.623 GB, free: 19.05 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/7.137, allocations: 109 kB / 3.623 GB, free: 18.94 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/7.137, allocations: 4 kB / 3.623 GB, free: 18.93 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/7.137, allocations: 0 / 3.623 GB, free: 18.93 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008619/7.138, allocations: 0.8232 MB / 3.624 GB, free: 18.02 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/7.141, allocations: 1.735 MB / 3.626 GB, free: 16.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/7.141, allocations: 8.344 kB / 3.626 GB, free: 16.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/7.141, allocations: 111.9 kB / 3.626 GB, free: 16.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/7.141, allocations: 60.81 kB / 3.626 GB, free: 16.01 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/7.141, allocations: 12 kB / 3.626 GB, free: 16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/7.142, allocations: 1.624 MB / 3.627 GB, free: 14.24 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/7.142, allocations: 4.031 kB / 3.627 GB, free: 14.24 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/7.144, allocations: 1.188 MB / 3.628 GB, free: 12.91 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/7.144, allocations: 232.3 kB / 3.629 GB, free: 12.66 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/7.144, allocations: 19.98 kB / 3.629 GB, free: 12.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/7.145, allocations: 63.95 kB / 3.629 GB, free: 12.58 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/7.145, allocations: 43.84 kB / 3.629 GB, free: 12.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/7.145, allocations: 31.98 kB / 3.629 GB, free: 12.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007295/7.146, allocations: 0.5536 MB / 3.629 GB, free: 11.95 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.146, allocations: 0 / 3.629 GB, free: 11.95 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001764/7.148, allocations: 400 kB / 3.63 GB, free: 11.56 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 () * 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.004217/7.152, allocations: 3.793 MB / 3.633 GB, free: 7.625 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001306/7.154, allocations: 0.7843 MB / 3.634 GB, free: 6.816 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/7.154, allocations: 0.6875 kB / 3.634 GB, free: 6.816 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/7.154, allocations: 398.2 kB / 3.635 GB, free: 6.414 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/7.157, allocations: 0.5712 MB / 3.635 GB, free: 5.852 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8349/7.991, allocations: 7.009 MB / 3.642 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/7.992, allocations: 1.111 MB / 3.643 GB, free: 305.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001379/7.994, allocations: 214.8 kB / 3.643 GB, free: 305.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/7.994, allocations: 345.1 kB / 3.644 GB, free: 305.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.322e-06/7.994, allocations: 2.625 kB / 3.644 GB, free: 305.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/8.11, allocations: 46.48 MB / 3.689 GB, free: 304.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/8.111, allocations: 275.6 kB / 3.689 GB, free: 304.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/11.77, allocations: 1.125 kB / 3.689 GB, free: 304.2 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