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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 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.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.223 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.507/2.507, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8142, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2336/1.048, allocations: 202.8 MB / 1.152 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01681/1.065, allocations: 11.38 MB / 1.163 GB, free: 9.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/1.067, allocations: 63.56 kB / 1.163 GB, free: 9.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/1.069, allocations: 0.5859 MB / 1.164 GB, free: 8.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006758/1.076, allocations: 2.123 MB / 1.166 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/1.079, allocations: 1.024 MB / 1.167 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00686/1.086, allocations: 5.144 MB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/1.089, allocations: 1.317 MB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/1.093, allocations: 1.937 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/1.096, allocations: 1.444 MB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000481/1.097, allocations: 76 kB / 1.176 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/1.1, allocations: 1.056 MB / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/1.101, allocations: 0.588 MB / 1.178 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/1.102, allocations: 384.7 kB / 1.178 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/1.106, allocations: 2.256 MB / 1.181 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.106, allocations: 4 kB / 1.181 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.106, allocations: 0 / 1.181 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.416e-05/1.106, allocations: 0 / 1.181 GB, free: 7.336 MB / 0.9356 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.003766/1.11, allocations: 1.912 MB / 1.182 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.11, allocations: 8.031 kB / 1.182 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004344/1.11, allocations: 206.8 kB / 1.183 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/1.113, allocations: 0.4972 MB / 1.183 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/1.116, allocations: 1.213 MB / 1.184 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/1.116, allocations: 110.8 kB / 1.184 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/1.116, allocations: 152 kB / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/1.119, allocations: 1.745 MB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/1.119, allocations: 7.906 kB / 1.186 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.119, allocations: 60 kB / 1.186 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/1.119, allocations: 54.53 kB / 1.186 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/1.122, allocations: 1.388 MB / 1.188 GB, free: 15.75 MB / 0.9512 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.009827/1.132, allocations: 7.324 MB / 1.195 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.133, allocations: 1.051 MB / 1.196 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/1.134, allocations: 0.6867 MB / 1.197 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/1.135, allocations: 110 kB / 1.197 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/1.135, allocations: 59.55 kB / 1.197 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001408/1.136, allocations: 310.7 kB / 1.197 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/1.136, allocations: 3.938 kB / 1.197 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112): time 0.008703/1.145, allocations: 4.415 MB / 1.201 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.145, allocations: 167.2 kB / 1.201 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.147, allocations: 1.251 MB / 1.203 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.147, allocations: 53.7 kB / 1.203 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/1.148, allocations: 0.6968 MB / 1.203 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000765/1.148, allocations: 406.2 kB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/1.148, allocations: 24 kB / 1.204 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003057/1.149, allocations: 361.9 kB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009171/1.15, allocations: 0.5114 MB / 1.205 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.151, allocations: 0.8401 MB / 1.206 GB, free: 12.78 MB / 0.9669 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.009191/1.16, allocations: 3.491 MB / 1.209 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.16, allocations: 4 kB / 1.209 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002688/1.163, allocations: 1.596 MB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/1.163, allocations: 12 kB / 1.211 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.163, allocations: 8 kB / 1.211 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/1.163, allocations: 19.94 kB / 1.211 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.164, allocations: 291.5 kB / 1.211 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/1.164, allocations: 19.94 kB / 1.211 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.165, allocations: 115.3 kB / 1.211 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.166, allocations: 59.98 kB / 1.211 GB, free: 7.125 MB / 0.9669 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 () * Number of clocked 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.0007726/1.166, allocations: 422.5 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/1.167, allocations: 173.9 kB / 1.212 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/1.169, allocations: 1.267 MB / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.169, allocations: 12 kB / 1.213 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.169, allocations: 0 / 1.213 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/1.17, allocations: 1.225 MB / 1.214 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006397/1.177, allocations: 3.746 MB / 1.218 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.177, allocations: 8.047 kB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.178, allocations: 247.7 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/1.178, allocations: 19.98 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/1.178, allocations: 36 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/1.178, allocations: 23.92 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.178, allocations: 15.94 kB / 1.218 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.181, allocations: 2.097 MB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008537/1.182, allocations: 358.9 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.182, allocations: 39.92 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.183, allocations: 91.8 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.183, allocations: 108.3 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/1.184, allocations: 52.09 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001492/1.185, allocations: 0.8411 MB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.01e-07/1.185, allocations: 0 / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001639/1.187, allocations: 435.9 kB / 1.222 GB, free: 11.48 MB / 0.9825 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 () * Number of clocked 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.003934/1.191, allocations: 2.767 MB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.193, allocations: 1.204 MB / 1.226 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.193, allocations: 4 kB / 1.226 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/1.194, allocations: 0.5407 MB / 1.226 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/1.198, allocations: 0.8895 MB / 1.227 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.217, allocations: 10.5 MB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.218, allocations: 1.368 MB / 1.239 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00159/1.22, allocations: 385.3 kB / 1.239 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/1.221, allocations: 0.6439 MB / 1.24 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.221, allocations: 3.938 kB / 1.24 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6305/1.851, allocations: 42.27 MB / 1.281 GB, free: 267.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.852, allocations: 268.3 kB / 1.281 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.878, allocations: 1.875 kB / 1.281 GB, free: 266.8 MB / 0.9981 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