Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009696/0.0009695, allocations: 176.8 kB / 487.4 MB, free: 5.062 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.572/1.572, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008677, allocations: 106.7 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.209e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2906, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.524, allocations: 1.93 GB / 3.136 GB, free: 348.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/5.524, allocations: 83.55 kB / 3.136 GB, free: 348.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.637/9.161, allocations: 1.101 GB / 4.236 GB, free: 132 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.043e-06/9.161, allocations: 4 kB / 4.236 GB, free: 132 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001664/9.161, allocations: 51.45 kB / 4.237 GB, free: 132 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004941/9.166, allocations: 1.878 MB / 4.238 GB, free: 130.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/9.166, allocations: 16.03 kB / 4.238 GB, free: 130.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/9.169, allocations: 493.2 kB / 4.239 GB, free: 129.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/9.173, allocations: 1.566 MB / 4.24 GB, free: 128 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/9.173, allocations: 48 kB / 4.24 GB, free: 128 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/9.173, allocations: 88 kB / 4.241 GB, free: 127.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/9.175, allocations: 1.224 MB / 4.242 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/9.177, allocations: 1.498 MB / 4.243 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/9.177, allocations: 3.938 kB / 4.243 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/9.177, allocations: 4 kB / 4.243 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/9.177, allocations: 50.55 kB / 4.243 GB, free: 125 MB / 1.151 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.007258/9.185, allocations: 7.105 MB / 4.25 GB, free: 117.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/9.186, allocations: 0.9841 MB / 4.251 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/9.186, allocations: 0.637 MB / 4.252 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/9.187, allocations: 114.1 kB / 4.252 GB, free: 115.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/9.187, allocations: 51.88 kB / 4.252 GB, free: 115.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/9.188, allocations: 270.2 kB / 4.252 GB, free: 115.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 3.707e-06/9.188, allocations: 7.109 kB / 4.252 GB, free: 115.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.005228/9.193, allocations: 3.514 MB / 4.256 GB, free: 111.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/9.193, allocations: 171.7 kB / 4.256 GB, free: 111.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/9.194, allocations: 0.7908 MB / 4.257 GB, free: 110.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.009e-05/9.194, allocations: 29.64 kB / 4.257 GB, free: 110.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/9.195, allocations: 0.7218 MB / 4.257 GB, free: 110.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/9.195, allocations: 382.3 kB / 4.258 GB, free: 109.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/9.195, allocations: 0 / 4.258 GB, free: 109.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/9.195, allocations: 357.9 kB / 4.258 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/9.196, allocations: 470.5 kB / 4.258 GB, free: 108.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/9.196, allocations: 0.7825 MB / 4.259 GB, free: 108 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/9.211, allocations: 3.911 MB / 4.263 GB, free: 104 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/9.212, allocations: 0 / 4.263 GB, free: 104 MB / 1.151 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002019/9.214, allocations: 1.397 MB / 4.264 GB, free: 102.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/9.214, allocations: 10.19 kB / 4.264 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/9.214, allocations: 8 kB / 4.264 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/9.214, allocations: 16 kB / 4.264 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/9.215, allocations: 279.6 kB / 4.265 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/9.215, allocations: 19.94 kB / 4.265 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/9.216, allocations: 84.17 kB / 4.265 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/9.216, allocations: 59.05 kB / 4.265 GB, free: 102.1 MB / 1.151 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002633/9.217, allocations: 160.5 kB / 4.265 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001665/9.218, allocations: 1.12 MB / 4.266 GB, free: 100.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/9.219, allocations: 142.3 kB / 4.266 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/9.22, allocations: 1.128 MB / 4.267 GB, free: 99.55 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/9.22, allocations: 15.95 kB / 4.267 GB, free: 99.54 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/9.221, allocations: 4 kB / 4.267 GB, free: 99.54 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/9.222, allocations: 1.135 MB / 4.268 GB, free: 98.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/9.227, allocations: 3.439 MB / 4.272 GB, free: 94.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/9.227, allocations: 12 kB / 4.272 GB, free: 94.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/9.228, allocations: 247.6 kB / 4.272 GB, free: 94.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/9.228, allocations: 16 kB / 4.272 GB, free: 94.47 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/9.228, allocations: 27.95 kB / 4.272 GB, free: 94.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/9.228, allocations: 19.92 kB / 4.272 GB, free: 94.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/9.228, allocations: 15.94 kB / 4.272 GB, free: 94.41 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/9.23, allocations: 2.517 MB / 4.275 GB, free: 91.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000716/9.231, allocations: 327.3 kB / 4.275 GB, free: 91.21 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/9.231, allocations: 19.98 kB / 4.275 GB, free: 91.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/9.233, allocations: 71.8 kB / 4.275 GB, free: 91.12 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/9.233, allocations: 108.4 kB / 4.275 GB, free: 91.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/9.233, allocations: 47.98 kB / 4.275 GB, free: 90.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008583/9.234, allocations: 0.5806 MB / 4.276 GB, free: 90.38 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/9.234, allocations: 0 / 4.276 GB, free: 90.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002058/9.236, allocations: 0.5117 MB / 4.276 GB, free: 89.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.005519/9.241, allocations: 8.181 MB / 4.284 GB, free: 81.37 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001721/9.243, allocations: 1.09 MB / 4.285 GB, free: 80.28 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/9.243, allocations: 0 / 4.285 GB, free: 80.28 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006301/9.244, allocations: 0.4996 MB / 4.286 GB, free: 79.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/9.248, allocations: 0.7087 MB / 4.286 GB, free: 79.09 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/9.254, allocations: 3.051 MB / 4.289 GB, free: 75.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/9.255, allocations: 1.406 MB / 4.291 GB, free: 74.42 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001644/9.256, allocations: 347.4 kB / 4.291 GB, free: 74.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/9.257, allocations: 0.6243 MB / 4.292 GB, free: 73.45 MB / 1.151 GB Notification: Performance of SimCode: time 8.82e-07/9.257, allocations: 0 / 4.292 GB, free: 73.45 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08346/9.341, allocations: 51.24 MB / 4.342 GB, free: 22.49 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/9.341, allocations: 209.2 kB / 4.342 GB, free: 22.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.721/13.06, allocations: 0 / 4.342 GB, free: 22.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat