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.004538/0.004538, allocations: 97.62 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.001211/0.001211, allocations: 202.4 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 286.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8906/0.8906, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 103.9 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4943/0.6388, allocations: 221.1 MB / 0.9818 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008197/0.6471, allocations: 5.731 MB / 0.9874 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.6481, allocations: 35.81 kB / 0.9875 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6494, allocations: 0.6019 MB / 0.988 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.6532, allocations: 1.914 MB / 0.9899 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.6557, allocations: 1.201 MB / 0.9911 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.6585, allocations: 2.963 MB / 0.994 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.6596, allocations: 1.021 MB / 0.995 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.661, allocations: 1.109 MB / 0.9961 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.6626, allocations: 0.9483 MB / 0.997 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.6627, allocations: 108 kB / 0.9971 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.665, allocations: 1.442 MB / 0.9985 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/0.6654, allocations: 458.8 kB / 0.9989 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005894/0.666, allocations: 0.6534 MB / 0.9996 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.6683, allocations: 2.145 MB / 1.002 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6683, allocations: 4 kB / 1.002 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6683, allocations: 0 / 1.002 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.6683, allocations: 0 / 1.002 GB, free: 1.52 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.002126/0.6704, allocations: 1.541 MB / 1.003 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6705, allocations: 12.03 kB / 1.003 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.6706, allocations: 143.3 kB / 1.003 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.6725, allocations: 322.9 kB / 1.004 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.6738, allocations: 0.856 MB / 1.004 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.6739, allocations: 69.94 kB / 1.005 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.674, allocations: 88 kB / 1.005 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6754, allocations: 0.9198 MB / 1.006 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.6755, allocations: 3.984 kB / 1.006 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.6756, allocations: 39.98 kB / 1.006 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.6756, allocations: 33.94 kB / 1.006 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.6769, allocations: 0.8315 MB / 1.006 GB, free: 12.56 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.004702/0.6816, allocations: 3.518 MB / 1.01 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.6823, allocations: 492.4 kB / 1.01 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.6828, allocations: 304.2 kB / 1.011 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.683, allocations: 105.5 kB / 1.011 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.683, allocations: 46.94 kB / 1.011 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.683, allocations: 0 / 1.011 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.003138/0.6861, allocations: 1.889 MB / 1.013 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.6862, allocations: 55.84 kB / 1.013 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.687, allocations: 0.8058 MB / 1.013 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.6871, allocations: 37.7 kB / 1.013 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.6874, allocations: 496.2 kB / 1.014 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.6875, allocations: 178.5 kB / 1.014 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.6877, allocations: 126.2 kB / 1.014 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.6878, allocations: 326 kB / 1.015 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.6882, allocations: 249.1 kB / 1.015 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.6887, allocations: 380.7 kB / 1.015 GB, free: 3.168 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.003419/0.6921, allocations: 1.543 MB / 1.017 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6921, allocations: 0 / 1.017 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001165/0.6933, allocations: 0.8004 MB / 1.017 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6933, allocations: 4 kB / 1.017 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6933, allocations: 4 kB / 1.017 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.6935, allocations: 66.08 kB / 1.017 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.6942, allocations: 151.8 kB / 1.018 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.6964, allocations: 3.119 MB / 1.021 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.6971, allocations: 29.06 kB / 1.021 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.6971, allocations: 28 kB / 1.021 GB, free: 13.07 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.0003429/0.6975, allocations: 306.2 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6976, allocations: 95.44 kB / 1.021 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.6978, allocations: 96.72 kB / 1.021 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6978, allocations: 12.06 kB / 1.021 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6978, allocations: 3.938 kB / 1.021 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009232/0.6988, allocations: 0.8349 MB / 1.022 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.7013, allocations: 1.799 MB / 1.024 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7013, allocations: 4 kB / 1.024 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.7019, allocations: 131.8 kB / 1.024 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.702, allocations: 36.78 kB / 1.024 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.702, allocations: 23.92 kB / 1.024 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.7031, allocations: 1.598 MB / 1.026 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7032, allocations: 4 kB / 1.026 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.7046, allocations: 1.07 MB / 1.027 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.7049, allocations: 244.5 kB / 1.027 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.705, allocations: 8 kB / 1.027 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.7057, allocations: 33.55 kB / 1.027 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.7058, allocations: 39.89 kB / 1.027 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.7059, allocations: 27.98 kB / 1.027 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006127/0.7065, allocations: 0.5693 MB / 1.027 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7065, allocations: 0 / 1.027 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007282/0.7072, allocations: 275.9 kB / 1.028 GB, free: 5.473 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.001975/0.7092, allocations: 1.712 MB / 1.029 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.7104, allocations: 0.8044 MB / 1.03 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7104, allocations: 8.125 kB / 1.03 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.711, allocations: 406.3 kB / 1.031 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.7135, allocations: 0.5999 MB / 1.031 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008677/0.7222, allocations: 7.017 MB / 1.038 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.7228, allocations: 1.095 MB / 1.039 GB, free: 9.426 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006664/0.7235, allocations: 219.7 kB / 1.039 GB, free: 9.207 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.7239, allocations: 347.3 kB / 1.04 GB, free: 8.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.7239, allocations: 4 kB / 1.04 GB, free: 8.863 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/0.7788, allocations: 27.47 MB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.3, allocations: 4.422 kB / 1.066 GB, free: 13.93 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)