Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001216/0.001216, allocations: 100.1 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.001557/0.001557, 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.563/1.563, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8431, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2158/1.059, allocations: 151.5 MB / 1.102 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01/1.069, allocations: 5.284 MB / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.071, allocations: 27.81 kB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/1.072, allocations: 477.8 kB / 1.107 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/1.078, allocations: 1.565 MB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/1.081, allocations: 0.9071 MB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003292/1.084, allocations: 1.262 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.085, allocations: 0.5156 MB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/1.087, allocations: 0.5371 MB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006933/1.087, allocations: 426.3 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/1.087, allocations: 28 kB / 1.112 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/1.09, allocations: 0.6045 MB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.09, allocations: 239.3 kB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/1.09, allocations: 189.3 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/1.092, allocations: 1.04 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/1.092, allocations: 0 / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/1.092, allocations: 0 / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.626e-05/1.092, allocations: 0 / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001789/1.094, allocations: 1.005 MB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.094, allocations: 8.031 kB / 1.115 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/1.094, allocations: 102.5 kB / 1.115 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/1.096, allocations: 274.7 kB / 1.116 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/1.097, allocations: 0.648 MB / 1.116 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/1.097, allocations: 41.31 kB / 1.116 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.097, allocations: 60 kB / 1.116 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.098, allocations: 0.5765 MB / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.098, allocations: 0 / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/1.098, allocations: 28 kB / 1.117 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/1.098, allocations: 25.3 kB / 1.117 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/1.099, allocations: 0.5009 MB / 1.118 GB, free: 7.75 MB / 0.8731 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.003475/1.103, allocations: 2.388 MB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/1.103, allocations: 430.3 kB / 1.12 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/1.103, allocations: 11.98 kB / 1.12 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.103, allocations: 34.56 kB / 1.12 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/1.103, allocations: 4 kB / 1.12 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.00307/1.107, allocations: 1.447 MB / 1.122 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.107, allocations: 55.84 kB / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/1.107, allocations: 0.5343 MB / 1.122 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/1.107, allocations: 33.7 kB / 1.122 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/1.108, allocations: 332.6 kB / 1.123 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.108, allocations: 161.6 kB / 1.123 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/1.108, allocations: 16 kB / 1.123 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.108, allocations: 374.8 kB / 1.123 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/1.108, allocations: 169 kB / 1.123 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/1.109, allocations: 256.8 kB / 1.124 GB, free: 1.219 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/1.112, allocations: 1.045 MB / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.112, allocations: 4 kB / 1.125 GB, free: 140 kB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001008/1.113, allocations: 0.5266 MB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.113, allocations: 8 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.113, allocations: 3.953 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.113, allocations: 4 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/1.113, allocations: 99.83 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.113, allocations: 4 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/1.114, allocations: 47.89 kB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.114, allocations: 19.98 kB / 1.125 GB, free: 15.42 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004989/1.115, allocations: 245.7 kB / 1.126 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.115, allocations: 67.19 kB / 1.126 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.115, allocations: 82.45 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.115, allocations: 7.953 kB / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.115, allocations: 0 / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007905/1.116, allocations: 0.5105 MB / 1.126 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/1.118, allocations: 1.573 MB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.118, allocations: 8 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/1.119, allocations: 116.4 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/1.119, allocations: 8 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/1.119, allocations: 20 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/1.119, allocations: 11.95 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.119, allocations: 7.938 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/1.121, allocations: 1.131 MB / 1.129 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/1.121, allocations: 196.3 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-05/1.121, allocations: 15.98 kB / 1.129 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.122, allocations: 48.08 kB / 1.129 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.122, allocations: 47.84 kB / 1.129 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/1.122, allocations: 23.94 kB / 1.129 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005462/1.122, allocations: 390.8 kB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.122, allocations: 0 / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007688/1.123, allocations: 204 kB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002719/1.126, allocations: 3.129 MB / 1.133 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008609/1.127, allocations: 437.2 kB / 1.133 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.127, allocations: 0 / 1.133 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/1.127, allocations: 232.7 kB / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.129, allocations: 463.2 kB / 1.134 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/1.136, allocations: 4.955 MB / 1.139 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/1.137, allocations: 0.9968 MB / 1.14 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007877/1.138, allocations: 157.9 kB / 1.14 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/1.138, allocations: 251.4 kB / 1.14 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of SimCode: time 8.51e-07/1.138, allocations: 0 / 1.14 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/1.178, allocations: 20.16 MB / 1.16 GB, free: 11.69 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.178, allocations: 239 kB / 1.16 GB, free: 11.45 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/3.276, allocations: 0 / 1.16 GB, free: 11.45 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat