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.005384/0.005384, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.001524/0.001524, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002442, allocations: 270.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 100.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1574, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5143/0.6717, allocations: 221.1 MB / 0.9818 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009036/0.6808, allocations: 5.727 MB / 0.9874 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.6817, allocations: 47.75 kB / 0.9875 GB, free: 56 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6831, allocations: 0.5747 MB / 0.988 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.687, allocations: 1.839 MB / 0.9898 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.6897, allocations: 1.189 MB / 0.991 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.6932, allocations: 2.954 MB / 0.9939 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6945, allocations: 1.024 MB / 0.9949 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.6961, allocations: 1.066 MB / 0.9959 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.698, allocations: 0.9603 MB / 0.9968 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.6981, allocations: 112 kB / 0.9969 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.7008, allocations: 1.43 MB / 0.9983 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.7013, allocations: 462.8 kB / 0.9988 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.7021, allocations: 0.6417 MB / 0.9994 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.7049, allocations: 2.149 MB / 1.002 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.705, allocations: 0 / 1.002 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/0.705, allocations: 0 / 1.002 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.705, allocations: 0 / 1.002 GB, free: 1.637 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.002367/0.7074, allocations: 1.548 MB / 1.003 GB, free: 32 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7074, allocations: 8.031 kB / 1.003 GB, free: 24 kB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.7076, allocations: 135.3 kB / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.7095, allocations: 334.8 kB / 1.003 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.7108, allocations: 0.8638 MB / 1.004 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.7109, allocations: 66 kB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.711, allocations: 80 kB / 1.004 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.7127, allocations: 0.9092 MB / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7127, allocations: 0 / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.7128, allocations: 44 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.7128, allocations: 37.92 kB / 1.005 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.7143, allocations: 0.8314 MB / 1.006 GB, free: 12.68 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.005361/0.7197, allocations: 3.518 MB / 1.01 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.7205, allocations: 496.4 kB / 1.01 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.721, allocations: 298 kB / 1.01 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.7212, allocations: 105.5 kB / 1.011 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.7213, allocations: 42.94 kB / 1.011 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.7213, allocations: 0 / 1.011 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.003521/0.7248, allocations: 1.893 MB / 1.012 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.7249, allocations: 59.84 kB / 1.012 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7259, allocations: 0.8058 MB / 1.013 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.7259, allocations: 37.7 kB / 1.013 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.7263, allocations: 492.1 kB / 1.014 GB, free: 4.578 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.7265, allocations: 178.5 kB / 1.014 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.7267, allocations: 126.2 kB / 1.014 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7269, allocations: 326 kB / 1.014 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.7273, allocations: 249.2 kB / 1.015 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.7279, allocations: 380.7 kB / 1.015 GB, free: 3.285 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.003689/0.7316, allocations: 1.542 MB / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7316, allocations: 4 kB / 1.016 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001328/0.7329, allocations: 0.7892 MB / 1.017 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.733, allocations: 11.98 kB / 1.017 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.733, allocations: 7.938 kB / 1.017 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.7332, allocations: 65.69 kB / 1.017 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.7338, allocations: 151.8 kB / 1.017 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.7366, allocations: 3.12 MB / 1.021 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.7373, allocations: 30.19 kB / 1.021 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.7373, allocations: 23.98 kB / 1.021 GB, free: 13.19 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.0004184/0.7378, allocations: 310.3 kB / 1.021 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.7379, allocations: 99.42 kB / 1.021 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.7381, allocations: 96.73 kB / 1.021 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7381, allocations: 4 kB / 1.021 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7381, allocations: 3.984 kB / 1.021 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.7392, allocations: 0.8349 MB / 1.022 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.742, allocations: 1.803 MB / 1.024 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.7421, allocations: 4 kB / 1.024 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.7427, allocations: 128.2 kB / 1.024 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.7428, allocations: 44.83 kB / 1.024 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.7428, allocations: 12 kB / 1.024 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.7442, allocations: 1.602 MB / 1.025 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7442, allocations: 0 / 1.025 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.7458, allocations: 1.074 MB / 1.026 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.7462, allocations: 236.5 kB / 1.027 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.7463, allocations: 19.98 kB / 1.027 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.7469, allocations: 29.55 kB / 1.027 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.747, allocations: 44.02 kB / 1.027 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.7471, allocations: 27.98 kB / 1.027 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007275/0.7478, allocations: 0.5654 MB / 1.027 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7478, allocations: 0 / 1.027 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007594/0.7486, allocations: 271.9 kB / 1.028 GB, free: 5.594 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.00224/0.7508, allocations: 1.713 MB / 1.029 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.7522, allocations: 0.8037 MB / 1.03 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7522, allocations: 4 kB / 1.03 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.7528, allocations: 415.8 kB / 1.03 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.7552, allocations: 0.5928 MB / 1.031 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.7648, allocations: 7.034 MB / 1.038 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.7656, allocations: 1.088 MB / 1.039 GB, free: 9.539 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000681/0.7662, allocations: 219.7 kB / 1.039 GB, free: 9.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.7667, allocations: 339.3 kB / 1.039 GB, free: 8.988 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.7667, allocations: 0 / 1.039 GB, free: 8.988 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06292/0.8297, allocations: 27.48 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.97, allocations: 448 / 1.066 GB, free: 14.04 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)