Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.271/2.271, allocations: 390.5 MB / 398 MB, free: 10.95 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.001247/0.001247, allocations: 176.7 kB / 491.2 MB, free: 1.602 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.534/1.534, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008752/0.0008752, allocations: 96.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.759e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.236/6.55, allocations: 1.931 GB / 3.143 GB, free: 344.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/6.551, allocations: 86.14 kB / 3.143 GB, free: 344.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.007/10.56, allocations: 1.101 GB / 4.244 GB, free: 114.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.252e-06/10.56, allocations: 0 / 4.244 GB, free: 114.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002207/10.56, allocations: 55.38 kB / 4.244 GB, free: 114.7 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.005209/10.56, allocations: 1.881 MB / 4.246 GB, free: 112.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/10.56, allocations: 12.03 kB / 4.246 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/10.57, allocations: 0.4894 MB / 4.246 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/10.57, allocations: 1.555 MB / 4.248 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/10.57, allocations: 44 kB / 4.248 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/10.57, allocations: 91.95 kB / 4.248 GB, free: 110.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002669/10.57, allocations: 1.228 MB / 4.249 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/10.58, allocations: 1.487 MB / 4.25 GB, free: 107.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/10.58, allocations: 7.922 kB / 4.25 GB, free: 107.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/10.58, allocations: 4 kB / 4.25 GB, free: 107.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/10.58, allocations: 58.53 kB / 4.25 GB, free: 107.6 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.01091/10.59, allocations: 7.097 MB / 4.257 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/10.59, allocations: 0.9875 MB / 4.258 GB, free: 99.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/10.59, allocations: 0.64 MB / 4.259 GB, free: 98.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/10.59, allocations: 110.4 kB / 4.259 GB, free: 98.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/10.59, allocations: 55.81 kB / 4.259 GB, free: 98.24 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001612/10.59, allocations: 279.2 kB / 4.259 GB, free: 97.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 7.183e-06/10.59, allocations: 0 / 4.259 GB, free: 97.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.006725/10.6, allocations: 3.523 MB / 4.263 GB, free: 94.38 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/10.6, allocations: 167.5 kB / 4.263 GB, free: 94.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/10.6, allocations: 0.7908 MB / 4.264 GB, free: 93.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/10.6, allocations: 25.7 kB / 4.264 GB, free: 93.34 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/10.6, allocations: 0.7185 MB / 4.264 GB, free: 92.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/10.6, allocations: 386.2 kB / 4.265 GB, free: 92.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/10.6, allocations: 128 / 4.265 GB, free: 92.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001261/10.6, allocations: 357.9 kB / 4.265 GB, free: 91.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/10.6, allocations: 470.5 kB / 4.266 GB, free: 91.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/10.6, allocations: 0.7825 MB / 4.266 GB, free: 90.5 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.01599/10.62, allocations: 3.903 MB / 4.27 GB, free: 86.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/10.62, allocations: 4 kB / 4.27 GB, free: 86.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002497/10.62, allocations: 1.393 MB / 4.272 GB, free: 85.15 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/10.62, allocations: 8 kB / 4.272 GB, free: 85.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/10.62, allocations: 15.83 kB / 4.272 GB, free: 85.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/10.62, allocations: 16.75 kB / 4.272 GB, free: 85.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/10.62, allocations: 279.5 kB / 4.272 GB, free: 84.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/10.62, allocations: 31.88 kB / 4.272 GB, free: 84.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/10.62, allocations: 79.72 kB / 4.272 GB, free: 84.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/10.62, allocations: 59.97 kB / 4.272 GB, free: 84.67 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.000284/10.63, allocations: 145.7 kB / 4.272 GB, free: 84.52 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001761/10.63, allocations: 1.112 MB / 4.273 GB, free: 83.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/10.63, allocations: 146.3 kB / 4.273 GB, free: 83.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/10.63, allocations: 1.136 MB / 4.274 GB, free: 82.11 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/10.63, allocations: 12 kB / 4.274 GB, free: 82.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/10.63, allocations: 0 / 4.274 GB, free: 82.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/10.63, allocations: 1.135 MB / 4.276 GB, free: 80.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/10.64, allocations: 3.44 MB / 4.279 GB, free: 77.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/10.64, allocations: 8 kB / 4.279 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/10.64, allocations: 243.6 kB / 4.279 GB, free: 77.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/10.64, allocations: 20 kB / 4.279 GB, free: 77.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/10.64, allocations: 23.98 kB / 4.279 GB, free: 76.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/10.64, allocations: 15.94 kB / 4.279 GB, free: 76.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/10.64, allocations: 15.94 kB / 4.279 GB, free: 76.96 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/10.64, allocations: 2.518 MB / 4.282 GB, free: 74.09 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/10.64, allocations: 342.5 kB / 4.282 GB, free: 73.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/10.64, allocations: 16.05 kB / 4.282 GB, free: 73.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/10.64, allocations: 75.77 kB / 4.282 GB, free: 73.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/10.64, allocations: 100.5 kB / 4.282 GB, free: 73.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/10.64, allocations: 51.97 kB / 4.282 GB, free: 73.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008438/10.64, allocations: 0.5806 MB / 4.283 GB, free: 72.92 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/10.64, allocations: 0 / 4.283 GB, free: 72.92 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002046/10.65, allocations: 0.5156 MB / 4.283 GB, free: 72.4 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.005661/10.65, allocations: 8.172 MB / 4.291 GB, free: 63.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001636/10.65, allocations: 1.086 MB / 4.292 GB, free: 62.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/10.65, allocations: 4.062 kB / 4.292 GB, free: 62.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/10.65, allocations: 0.4967 MB / 4.293 GB, free: 62.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/10.66, allocations: 0.7051 MB / 4.294 GB, free: 61.51 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/10.66, allocations: 3.061 MB / 4.297 GB, free: 58.27 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/10.66, allocations: 1.402 MB / 4.298 GB, free: 56.84 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00132/10.66, allocations: 343.4 kB / 4.298 GB, free: 56.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/10.66, allocations: 0.6243 MB / 4.299 GB, free: 55.87 MB / 1.151 GB Notification: Performance of SimCode: time 1.703e-06/10.66, allocations: 0 / 4.299 GB, free: 55.87 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/10.74, allocations: 51.24 MB / 4.349 GB, free: 4.914 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/10.75, allocations: 217.2 kB / 4.349 GB, free: 4.621 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/14.21, allocations: 1.094 kB / 4.349 GB, free: 4.621 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat