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.006019/0.006019, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001283/0.001283, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 298.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9041/0.9041, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 100.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1478, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5072/0.655, allocations: 221.1 MB / 0.9818 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008219/0.6633, allocations: 5.724 MB / 0.9874 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6644, allocations: 39.75 kB / 0.9874 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.666, allocations: 0.602 MB / 0.988 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.6701, allocations: 1.91 MB / 0.9899 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.6727, allocations: 1.206 MB / 0.9911 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.6757, allocations: 2.952 MB / 0.994 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.6768, allocations: 1.024 MB / 0.995 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.6781, allocations: 1.109 MB / 0.996 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.6797, allocations: 0.9493 MB / 0.997 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.6798, allocations: 115.9 kB / 0.9971 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.6822, allocations: 1.438 MB / 0.9985 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.6826, allocations: 466.7 kB / 0.9989 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.6832, allocations: 0.6378 MB / 0.9996 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6854, allocations: 2.153 MB / 1.002 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6855, allocations: 0 / 1.002 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6855, allocations: 0 / 1.002 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.6855, allocations: 0 / 1.002 GB, free: 1.504 MB / 0.7481 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.002058/0.6875, allocations: 1.545 MB / 1.003 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.6876, allocations: 8.031 kB / 1.003 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.6877, allocations: 139.3 kB / 1.003 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.6896, allocations: 330.7 kB / 1.004 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6908, allocations: 0.8637 MB / 1.004 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.6908, allocations: 66 kB / 1.005 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6909, allocations: 84 kB / 1.005 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.6923, allocations: 0.9053 MB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.6924, allocations: 3.984 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.6924, allocations: 47.98 kB / 1.006 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.6925, allocations: 37.92 kB / 1.006 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.6938, allocations: 0.8315 MB / 1.006 GB, free: 12.54 MB / 0.7637 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.004539/0.6983, allocations: 3.514 MB / 1.01 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.6991, allocations: 492.4 kB / 1.01 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.6995, allocations: 302 kB / 1.011 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.6997, allocations: 105.5 kB / 1.011 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6997, allocations: 42.94 kB / 1.011 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.6997, allocations: 0 / 1.011 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.003121/0.7029, allocations: 1.893 MB / 1.013 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.7029, allocations: 67.72 kB / 1.013 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.7038, allocations: 0.8019 MB / 1.013 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.7038, allocations: 37.7 kB / 1.013 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.7041, allocations: 488.2 kB / 1.014 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.7043, allocations: 178.5 kB / 1.014 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.7044, allocations: 126.2 kB / 1.014 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.7045, allocations: 326 kB / 1.015 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.7049, allocations: 253.2 kB / 1.015 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.7054, allocations: 376.7 kB / 1.015 GB, free: 3.152 MB / 0.7637 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.003341/0.7088, allocations: 1.542 MB / 1.017 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7088, allocations: 4 kB / 1.017 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001165/0.71, allocations: 0.793 MB / 1.017 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.71, allocations: 11.98 kB / 1.017 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.71, allocations: 4 kB / 1.017 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.7102, allocations: 65.62 kB / 1.017 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.7108, allocations: 147.8 kB / 1.018 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.713, allocations: 3.123 MB / 1.021 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.7137, allocations: 36.81 kB / 1.021 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.7137, allocations: 23.98 kB / 1.021 GB, free: 13.05 MB / 0.7794 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.000353/0.7141, allocations: 306.3 kB / 1.021 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.7142, allocations: 99.42 kB / 1.021 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.7144, allocations: 96.73 kB / 1.021 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7144, allocations: 4 kB / 1.021 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7144, allocations: 7.984 kB / 1.021 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009434/0.7154, allocations: 0.8349 MB / 1.022 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.7179, allocations: 1.799 MB / 1.024 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7179, allocations: 7.938 kB / 1.024 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.7185, allocations: 132.2 kB / 1.024 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.228e-05/0.7186, allocations: 44.83 kB / 1.024 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.7186, allocations: 8 kB / 1.024 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.7197, allocations: 1.602 MB / 1.026 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7197, allocations: 0 / 1.026 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.7211, allocations: 1.066 MB / 1.027 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.7215, allocations: 240.5 kB / 1.027 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7216, allocations: 23.92 kB / 1.027 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.7222, allocations: 25.61 kB / 1.027 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.7223, allocations: 43.95 kB / 1.027 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.7224, allocations: 27.98 kB / 1.027 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006511/0.7231, allocations: 0.5654 MB / 1.027 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7231, allocations: 0 / 1.027 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000742/0.7238, allocations: 279.9 kB / 1.028 GB, free: 5.453 MB / 0.7794 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.001945/0.7258, allocations: 1.707 MB / 1.029 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.727, allocations: 0.8076 MB / 1.03 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.727, allocations: 4 kB / 1.03 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.7275, allocations: 411.8 kB / 1.031 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.7299, allocations: 0.5931 MB / 1.031 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/0.7387, allocations: 7.028 MB / 1.038 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.7393, allocations: 1.091 MB / 1.039 GB, free: 9.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000696/0.74, allocations: 223.7 kB / 1.039 GB, free: 9.188 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.7405, allocations: 343.3 kB / 1.04 GB, free: 8.852 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.7405, allocations: 0 / 1.04 GB, free: 8.852 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.7931, allocations: 27.47 MB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.24, allocations: 4.438 kB / 1.066 GB, free: 13.91 MB / 0.8262 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)