Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 193 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002378, allocations: 298 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 97.62 kB / 0.6065 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4884/0.6339, allocations: 221.1 MB / 0.9095 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.643, allocations: 5.731 MB / 0.9151 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008973/0.6439, allocations: 43.75 kB / 0.9151 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.6453, allocations: 0.5708 MB / 0.9157 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.6492, allocations: 1.843 MB / 0.9175 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.652, allocations: 1.183 MB / 0.9186 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003565/0.6556, allocations: 2.945 MB / 0.9215 GB, free: 2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.657, allocations: 1.032 MB / 0.9225 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.6586, allocations: 1.066 MB / 0.9236 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.6604, allocations: 0.944 MB / 0.9245 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.6606, allocations: 108 kB / 0.9246 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.6634, allocations: 1.419 MB / 0.926 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.6639, allocations: 470.8 kB / 0.9264 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.6646, allocations: 0.6534 MB / 0.9271 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.6672, allocations: 2.119 MB / 0.9291 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6672, allocations: 0 / 0.9291 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6672, allocations: 0 / 0.9291 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.6673, allocations: 0 / 0.9291 GB, free: 10.18 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002315/0.6696, allocations: 1.512 MB / 0.9306 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.6696, allocations: 8.031 kB / 0.9306 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.6698, allocations: 143.3 kB / 0.9308 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.6717, allocations: 318.3 kB / 0.9311 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.673, allocations: 0.8161 MB / 0.9319 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.673, allocations: 62 kB / 0.9319 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.6732, allocations: 84 kB / 0.932 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6747, allocations: 0.9248 MB / 0.9329 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.6748, allocations: 0 / 0.9329 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.6749, allocations: 39.98 kB / 0.9329 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.6749, allocations: 33.94 kB / 0.933 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6764, allocations: 0.8354 MB / 0.9338 GB, free: 5.309 MB / 0.6544 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.005317/0.6817, allocations: 3.545 MB / 0.9372 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.6825, allocations: 497.8 kB / 0.9377 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.683, allocations: 295.2 kB / 0.938 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.6832, allocations: 105.5 kB / 0.9381 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.6833, allocations: 46.94 kB / 0.9381 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.6833, allocations: 4 kB / 0.9382 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003573/0.6869, allocations: 1.872 MB / 0.94 GB, free: 14.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.6869, allocations: 55.84 kB / 0.94 GB, free: 14.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009818/0.6879, allocations: 0.8097 MB / 0.9408 GB, free: 13.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.688, allocations: 37.7 kB / 0.9409 GB, free: 13.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.6883, allocations: 479.2 kB / 0.9413 GB, free: 13.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.6885, allocations: 177.4 kB / 0.9415 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.6887, allocations: 122.2 kB / 0.9416 GB, free: 12.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6889, allocations: 330 kB / 0.9419 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.6893, allocations: 245.2 kB / 0.9422 GB, free: 12.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.6899, allocations: 380.7 kB / 0.9425 GB, free: 11.92 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.6937, allocations: 1.549 MB / 0.944 GB, free: 10.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6937, allocations: 0 / 0.944 GB, free: 10.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001389/0.6951, allocations: 0.7961 MB / 0.9448 GB, free: 9.512 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6951, allocations: 4 kB / 0.9448 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6951, allocations: 4 kB / 0.9448 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.6953, allocations: 74.02 kB / 0.9449 GB, free: 9.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.696, allocations: 147.8 kB / 0.945 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.6987, allocations: 3.126 MB / 0.9481 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.6995, allocations: 29.61 kB / 0.9481 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.6995, allocations: 24 kB / 0.9481 GB, free: 5.82 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004607/0.7, allocations: 310.9 kB / 0.9484 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.7001, allocations: 90.91 kB / 0.9485 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.7003, allocations: 100.7 kB / 0.9486 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7003, allocations: 8 kB / 0.9486 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7003, allocations: 0 / 0.9486 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.7014, allocations: 0.831 MB / 0.9494 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.7042, allocations: 1.798 MB / 0.9512 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7043, allocations: 4 kB / 0.9512 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.7049, allocations: 136.2 kB / 0.9513 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.705, allocations: 36.84 kB / 0.9513 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.705, allocations: 15.98 kB / 0.9514 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.7064, allocations: 1.598 MB / 0.9529 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7065, allocations: 4 kB / 0.9529 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7081, allocations: 1.061 MB / 0.954 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.7085, allocations: 239.9 kB / 0.9542 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7086, allocations: 12 kB / 0.9542 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.7093, allocations: 43.11 kB / 0.9542 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.7094, allocations: 39.88 kB / 0.9543 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.7095, allocations: 31.98 kB / 0.9543 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007348/0.7102, allocations: 0.5576 MB / 0.9549 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7102, allocations: 0 / 0.9549 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000817/0.7111, allocations: 272 kB / 0.9551 GB, free: 14.25 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002212/0.7133, allocations: 1.7 MB / 0.9568 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.7147, allocations: 0.8782 MB / 0.9576 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7148, allocations: 0 / 0.9576 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.7154, allocations: 407.9 kB / 0.958 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.718, allocations: 0.6016 MB / 0.9586 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/0.728, allocations: 7.323 MB / 0.9658 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.7288, allocations: 1.091 MB / 0.9668 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009205/0.7298, allocations: 211.7 kB / 0.967 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.7302, allocations: 343.3 kB / 0.9674 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.7303, allocations: 4 kB / 0.9674 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06344/0.7937, allocations: 27.25 MB / 0.994 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.22, allocations: 2.938 kB / 0.994 GB, free: 6.516 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)