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.254/2.254, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.00117/0.00117, allocations: 184.9 kB / 492.3 MB, free: 0.6016 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.517/1.517, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0008656/0.0008656, allocations: 95.7 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.588e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.309/5.568, allocations: 1.931 GB / 3.143 GB, free: 340.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/5.568, allocations: 86.02 kB / 3.143 GB, free: 340.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.599/9.167, allocations: 1.112 GB / 4.255 GB, free: 90.91 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/9.167, allocations: 0 / 4.255 GB, free: 90.91 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002003/9.167, allocations: 51.98 kB / 4.255 GB, free: 90.86 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.004644/9.172, allocations: 1.884 MB / 4.257 GB, free: 88.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/9.172, allocations: 8.031 kB / 4.257 GB, free: 88.92 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/9.172, allocations: 206.8 kB / 4.257 GB, free: 88.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/9.175, allocations: 0.4894 MB / 4.258 GB, free: 88.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/9.179, allocations: 1.567 MB / 4.259 GB, free: 86.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/9.179, allocations: 110.8 kB / 4.26 GB, free: 86.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/9.18, allocations: 155.9 kB / 4.26 GB, free: 86.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/9.182, allocations: 1.687 MB / 4.261 GB, free: 84.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/9.182, allocations: 8 kB / 4.261 GB, free: 84.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/9.183, allocations: 59.98 kB / 4.261 GB, free: 84.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/9.183, allocations: 50.55 kB / 4.261 GB, free: 84.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/9.185, allocations: 1.329 MB / 4.263 GB, free: 83.08 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.007376/9.192, allocations: 7.411 MB / 4.27 GB, free: 75.28 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/9.193, allocations: 1.025 MB / 4.271 GB, free: 74.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/9.194, allocations: 0.679 MB / 4.272 GB, free: 73.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/9.194, allocations: 114.3 kB / 4.272 GB, free: 73.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/9.194, allocations: 43.56 kB / 4.272 GB, free: 73.32 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001221/9.196, allocations: 330.6 kB / 4.272 GB, free: 73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 7.695e-06/9.196, allocations: 0 / 4.272 GB, free: 73 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.005758/9.201, allocations: 3.707 MB / 4.276 GB, free: 69.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/9.201, allocations: 171.2 kB / 4.276 GB, free: 69.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/9.203, allocations: 1.071 MB / 4.277 GB, free: 67.94 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/9.203, allocations: 53.7 kB / 4.277 GB, free: 67.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/9.203, allocations: 0.7007 MB / 4.278 GB, free: 67.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/9.203, allocations: 398.2 kB / 4.278 GB, free: 66.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/9.203, allocations: 28 kB / 4.278 GB, free: 66.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/9.204, allocations: 362 kB / 4.278 GB, free: 66.39 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/9.204, allocations: 0.492 MB / 4.279 GB, free: 65.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/9.205, allocations: 0.8379 MB / 4.28 GB, free: 64.93 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.01482/9.22, allocations: 4.061 MB / 4.284 GB, free: 60.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/9.22, allocations: 0 / 4.284 GB, free: 60.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002068/9.222, allocations: 1.565 MB / 4.285 GB, free: 59.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/9.222, allocations: 9.719 kB / 4.285 GB, free: 59.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/9.222, allocations: 8 kB / 4.285 GB, free: 59.24 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/9.222, allocations: 19.95 kB / 4.285 GB, free: 59.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/9.223, allocations: 287.5 kB / 4.286 GB, free: 58.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/9.223, allocations: 19.94 kB / 4.286 GB, free: 58.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/9.225, allocations: 115.7 kB / 4.286 GB, free: 58.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/9.225, allocations: 63.98 kB / 4.286 GB, free: 58.74 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 (169): * Single equations (assignments): 169 * 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.0002442/9.225, allocations: 188.6 kB / 4.286 GB, free: 58.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/9.225, allocations: 170 kB / 4.286 GB, free: 58.38 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/9.227, allocations: 1.232 MB / 4.287 GB, free: 57.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/9.227, allocations: 12 kB / 4.287 GB, free: 57.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/9.227, allocations: 4 kB / 4.287 GB, free: 57.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/9.228, allocations: 1.194 MB / 4.288 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/9.234, allocations: 3.701 MB / 4.292 GB, free: 51.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/9.234, allocations: 8 kB / 4.292 GB, free: 51.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/9.235, allocations: 251.6 kB / 4.292 GB, free: 51.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/9.235, allocations: 16.66 kB / 4.292 GB, free: 51.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/9.235, allocations: 43.98 kB / 4.292 GB, free: 51.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/9.235, allocations: 23.94 kB / 4.292 GB, free: 51.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/9.235, allocations: 15.94 kB / 4.292 GB, free: 51.61 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/9.237, allocations: 2.725 MB / 4.295 GB, free: 48.31 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/9.238, allocations: 355 kB / 4.295 GB, free: 47.94 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/9.238, allocations: 35.98 kB / 4.295 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/9.239, allocations: 91.78 kB / 4.296 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/9.239, allocations: 100.5 kB / 4.296 GB, free: 47.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/9.239, allocations: 47.98 kB / 4.296 GB, free: 47.67 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009393/9.24, allocations: 0.8321 MB / 4.296 GB, free: 46.84 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.24, allocations: 0 / 4.296 GB, free: 46.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00191/9.242, allocations: 0.621 MB / 4.297 GB, free: 46.22 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.005228/9.248, allocations: 8.04 MB / 4.305 GB, free: 37.74 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001526/9.249, allocations: 1.178 MB / 4.306 GB, free: 36.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/9.249, allocations: 7.938 kB / 4.306 GB, free: 36.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/9.25, allocations: 0.5258 MB / 4.307 GB, free: 36.04 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/9.253, allocations: 0.8702 MB / 4.307 GB, free: 35.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/9.258, allocations: 3.19 MB / 4.311 GB, free: 31.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/9.259, allocations: 1.403 MB / 4.312 GB, free: 30.37 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001347/9.26, allocations: 389.2 kB / 4.312 GB, free: 29.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007534/9.261, allocations: 0.6359 MB / 4.313 GB, free: 29.35 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/9.261, allocations: 0 / 4.313 GB, free: 29.35 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7706/10.03, allocations: 78.14 MB / 4.389 GB, free: 222.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/10.03, allocations: 225.1 kB / 4.389 GB, free: 222.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.874/14.91, allocations: 6.469 kB / 4.389 GB, free: 222.3 MB / 1.167 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